building function a min walk from the house