a door opens and closes