Added pay budget check. started work for better budget payoff