added a new feature in emergency situation