added functionality for Spend and Get