made transfer picklable