implemented transferToHelperDevices, untested, fixed sorting array names