Renamed func write->transfer