a machine with a door