Spending Logic

merge