budget.persist();
for (int i = 0; i < 12; i++) {
MonthlyBudget monthlyBudget = new MonthlyBudget();
monthlyBudget.setBudget(budget);
monthlyBudget.setBudgetedMonth(i);
monthlyBudget.persist();
budget.getMonthlyBudgets().add(monthlyBudget);
}
budget.merge();
return budget;
}