a door is being open and closed