Refactor plan method in VacationRepository