Added amount owned methods to globals.php