Merged the int check for tranfer funds functions.