a door is opened and closed multiple times