Reducing the health and safety risks of machinery