Engineering safety and the environment