The churches are also a significant engineering feat, given that they are all associated with water (which fills the wells next to many of the churches), exploiting an artesian geological system that brings the water up to the top of the mountain ridge on which the city rests.