run the machine