a door shuts then a machine runs