refactor add three months of year method