added machineDetection to the transfer method