Preventable accidents - a technical solution