Added a calculation to determine budget.