remove console.log
add error checking to transfer