mechanism for reacting to emergencies