Tried transfer of actual data with if statement