a door is opened and closed several times