the hedges around building function