building function in the garden