rm unused code; added default transfer