Modified MachineActivity