change int to float for the transfer parameters