numer of floors as a parameter
guards on exiting emergency state