Where buildings do collapse, the occupants are more likely to survive when the walls and roof are made of lightweight materials rather than heavy ones; rubble-masonry buildings, or brick buildings with low quality mortar, do not withstand earthquakes well; wooden or steel-framed buildings are generally much better.