refactor monthsAfter