a machine is used for work