Risk assessment and safety in quarries