building function on the edge of the desert