private void prepareHolidayAccounts(Person person, int year, Model model) {

    // get person's holidays account and entitlement for the given year
    Optional<Account> account = accountService.getHolidaysAccount(year, person);

    if (account.isPresent()) {
      model.addAttribute(
          "vacationDaysLeft", vacationDaysService.getVacationDaysLeft(account.get()));
      model.addAttribute("account", account.get());
      model.addAttribute(
          PersonConstants.BEFORE_APRIL_ATTRIBUTE, DateUtil.isBeforeApril(DateMidnight.now()));
    }
  }