Fixed: Missing use statement
Removed: erroneous balance calculation rule and bad echo statement