more robusy code calc in new_budget_csv