building function in the desert