add methods for changing the transfer data type