The management of accidents