Working with emergency