Trenching and excavation work is highly hazardous and cave-ins are a major risk. Trenches 5 feet deep or more require protective systems such as sloping, shoring, or shielding of the walls. A competent person must inspect trenches daily for hazards. Trench work also requires safe access and egress, keeping heavy equipment and stored materials away from edges, and testing for gases.