integrate transfer with nio