working on transfers.php and function/procedure calls