Each village was planned in a diverse topography comprising a small island, a ridge, a hilltop, a peak and a recess. The villages were fortified in such a manner that they were inaccessible to the nomadic groups. The five villages set up with identical planning concepts were Ghardaïa, Melika, Beni Isguen, Bou Noura and El Atteuf. The identical “miniature citadels”, as they are termed, each had their own mosque with minaret functioning as watch towers, and the houses built around the mosque in concentric circles and surrounded by a high walls (extending up to the ramparts). The buildings together gave the feel of a fortress to each village. The mosque also provided for storage of grains and arms for defence.