a door can be used to enter and leave a room