added getMachines() call