Protecting people from accidents