working with emergency