Adding balance and totalbalance commands