allocating array for machineList