building function converted to use as a house