replace MachineType.all with MachineType.getAll( )