function of the roof canopy