a door opens and shuts