XML 29 R14.htm IDEA: XBRL DOCUMENT v3.8.0.1
LOANS AND ALLOWANCE FOR LOAN LOSSES
3 Months Ended
Mar. 31, 2018
Loans and Leases Receivable Disclosure [Abstract]  
LOANS AND ALLOWANCE FOR LOAN LOSSES
LOANS AND ALLOWANCE FOR LOAN LOSSES
 
The composition of the Company’s loan portfolio, excluding residential loans held for sale, at March 31, 2018 and December 31, 2017 was as follows:   
 
March 31,
2018
 
December 31,
2017
Residential real estate
$
860,533

 
$
858,369

Commercial real estate
1,169,533

 
1,164,023

Commercial
378,015

 
373,400

Home equity
320,642

 
323,378

Consumer
18,011

 
18,149

HPFC
42,414

 
45,120

Total loans
$
2,789,148

 
$
2,782,439



The loan balances for each portfolio segment presented above are net of their respective unamortized fair value mark discount on acquired loans and net of unamortized loan origination costs totaling:
 
March 31,
2018
 
December 31,
2017
Net unamortized fair value mark discount on acquired loans
$
5,703

 
$
6,207

Net unamortized loan origination costs
(958
)
 
(963
)
Total
$
4,745

 
$
5,244



The Bank’s lending activities are primarily conducted in Maine, but also include a mortgage loan production office in Massachusetts and two commercial loan production offices in New Hampshire. The Company originates single family and multi-family residential loans, commercial real estate loans, business loans, municipal loans and a variety of consumer loans. In addition, the Company makes loans for the construction of residential homes, multi-family properties and commercial real estate properties. The ability and willingness of borrowers to honor their repayment commitments is generally dependent on the level of overall economic activity within the geographic area and the general economy.

The HPFC loan portfolio consists of niche commercial lending to the small business medical field, including dentists, optometrists and veterinarians across the U.S. The ability and willingness of borrowers to honor their repayment commitments is generally dependent on the success of the borrower's business. In 2016, the Company closed HPFC's operations and is no longer originating loans.

The ALL is management’s best estimate of the inherent risk of loss in the Company’s loan portfolio as of the consolidated statement of condition date. Management makes various assumptions and judgments about the collectability of the loan portfolio and provides an allowance for potential losses based on a number of factors including historical losses. If those assumptions are incorrect, the ALL may not be sufficient to cover losses and may cause an increase in the allowance in the future. Among the factors that could affect the Company’s ability to collect loans and require an increase to the allowance in the future are: (i) financial condition of borrowers; (ii) real estate market changes; (iii) state, regional, and national economic conditions; and (iv) a requirement by federal and state regulators to increase the provision for loan losses or recognize additional charge-offs.

There were no significant changes in the Company's ALL methodology during the three months ended March 31, 2018.

The Board of Directors monitors credit risk through the Directors' Loan Review Committee, which reviews large credit exposures, monitors the external loan review reports, reviews the lending authority for individual loan officers when required, and has approval authority and responsibility for all matters regarding the loan policy and other credit-related policies, including reviewing and monitoring asset quality trends, concentration levels, and the ALL methodology. Credit Risk Administration and the Credit Risk Policy Committee oversee the Company's systems and procedures to monitor the credit quality of its loan portfolio, conduct a loan review program, maintain the integrity of the loan rating system, determine the adequacy of the ALL and support the oversight efforts of the Directors' Loan Review Committee and the Board of Directors. The Company's practice is to proactively manage the portfolio such that management can identify problem credits early, assess and implement effective work-out strategies, and take charge-offs as promptly as practical. In addition, the Company continuously reassesses its underwriting standards in response to credit risk posed by changes in economic conditions.

For purposes of determining the ALL, the Company disaggregates its loans into portfolio segments, which include residential real estate, commercial real estate, commercial, home equity, consumer and HPFC. Each portfolio segment possesses unique risk characteristics that are considered when determining the appropriate level of allowance. These risk characteristics unique to each portfolio segment include:

Residential Real Estate. Residential real estate loans held in the Company's loan portfolio are made to borrowers who demonstrate the ability to make scheduled payments with full consideration to underwriting factors. Borrower qualifications include favorable credit history combined with supportive income requirements and combined loan-to-value ratios within established policy guidelines. Collateral consists of mortgage liens on one- to four-family residential properties.

Commercial Real Estate. Commercial real estate loans consist of mortgage loans to finance investments in real property such as multi-family residential, commercial/retail, office, industrial, hotels, educational, health care facilities and other specific use properties. Commercial real estate loans are typically written with amortizing payment structures. Collateral values are determined based upon appraisals and evaluations in accordance with established policy guidelines. Loan-to-value ratios at origination are governed by established policy and regulatory guidelines. Commercial real estate loans are primarily paid by the cash flow generated from the real property, such as operating leases, rents, or other operating cash flows from the borrower.

Commercial. Commercial loans consist of revolving and term loan obligations extended to business and corporate enterprises for the purpose of financing working capital and/or capital investment. Collateral generally consists of pledges of business assets including, but not limited to, accounts receivable, inventory, plant & equipment, or real estate, if applicable. Commercial loans are primarily paid by the operating cash flow of the borrower. Commercial loans may be secured or unsecured.

Home Equity. Home equity loans and lines are made to qualified individuals for legitimate purposes secured by senior or junior mortgage liens on owner-occupied one- to four-family homes, condominiums, or vacation homes. The home equity loan has a fixed rate and is billed as equal payments comprised of principal and interest. The home equity line of credit has a variable rate and is billed as interest-only payments during the draw period. At the end of the draw period, the home equity line of credit is billed as a percentage of the principal balance plus all accrued interest. Borrower qualifications include favorable credit history combined with supportive income requirements and combined loan-to-value ratios within established policy guidelines.

Consumer. Consumer loan products including personal lines of credit and amortizing loans made to qualified individuals for various purposes such as education, auto loans, debt consolidation, personal expenses or overdraft protection. Borrower qualifications include favorable credit history combined with supportive income and collateral requirements within established policy guidelines. Consumer loans may be secured or unsecured.

HPFC. Prior to the Company's closing of HPFC's operations in 2016, it provided commercial lending to dentists, optometrists and veterinarians, many of which were start-up companies. HPFC's loan portfolio consists of term loan obligations extended for the purpose of financing working capital and/or purchase of equipment. Collateral consists of pledges of business assets including, but not limited to, accounts receivable, inventory, and/or equipment. These loans are primarily paid by the operating cash flow of the borrower and the terms range from seven to ten years.
The following presents the activity in the ALL and select loan information by portfolio segment for the three months ended March 31, 2018 and 2017, and for the year ended December 31, 2017
 
 
Residential
Real Estate
 
Commercial
Real Estate
 
Commercial
 
Home
Equity
 
Consumer
 
HPFC
 
Total
For The Three Months Ended March 31, 2018
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ALL for the three months ended:
 
 

 
 

 
 

 
 

 
 

 
 
 
 

Beginning balance
 
$
5,086

 
$
11,863

 
$
4,171

 
$
2,367

 
$
233

 
$
451

 
$
24,171

Loans charged off
 
(31
)
 
(426
)
 
(171
)
 
(149
)
 
(26
)
 

 
(803
)
Recoveries
 

 
13

 
63

 
43

 
3

 

 
122

Provision (credit)(1)
 
442

 
(1,164
)
 
63

 
166

 
20

 
(27
)
 
(500
)
Ending balance
 
$
5,497

 
$
10,286

 
$
4,126

 
$
2,427

 
$
230

 
$
424

 
$
22,990

ALL balance attributable to loans:
 
 

 
 

 
 

 
 

 
 

 
 
 
 

Individually evaluated for impairment
 
$
553

 
$
368

 
$

 
$
112

 
$

 
$

 
$
1,033

Collectively evaluated for impairment
 
4,944

 
9,918

 
4,126

 
2,315

 
230

 
424

 
21,957

Total ending ALL
 
$
5,497

 
$
10,286

 
$
4,126

 
$
2,427

 
$
230

 
$
424

 
$
22,990

Loans:
 
 

 
 

 
 

 
 

 
 

 
 
 
 

Individually evaluated for impairment
 
$
5,059

 
$
3,961

 
$
1,714

 
$
491

 
$

 
$

 
$
11,225

Collectively evaluated for impairment
 
855,474

 
1,165,572

 
376,301

 
320,151

 
18,011

 
42,414

 
2,777,923

Total ending loans balance
 
$
860,533

 
$
1,169,533

 
$
378,015

 
$
320,642

 
$
18,011

 
$
42,414

 
$
2,789,148

For The Three Months Ended March 31, 2017
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ALL for the three months ended:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Beginning balance
 
$
4,160

 
$
12,154

 
$
3,755

 
$
2,194

 
$
181

 
$
672

 
$
23,116

Loans charged off
 
(5
)
 
(3
)
 
(136
)
 
(1
)
 
(14
)
 

 
(159
)
Recoveries
 

 
103

 
77

 
1

 
2

 

 
183

Provision (credit)(1)
 
116

 
472

 
119

 
(87
)
 
6

 
(45
)
 
581

Ending balance
 
$
4,271

 
$
12,726

 
$
3,815

 
$
2,107

 
$
175

 
$
627

 
$
23,721

ALL balance attributable to loans:
 
 

 
 

 
 

 
 

 
 

 
 
 
 

Individually evaluated for impairment
 
$
485

 
$
1,100

 
$

 
$
83

 
$

 
$
66

 
$
1,734

Collectively evaluated for impairment
 
3,786

 
11,626

 
3,815

 
2,024

 
175

 
561

 
21,987

Total ending ALL
 
$
4,271

 
$
12,726

 
$
3,815

 
$
2,107

 
$
175

 
$
627

 
$
23,721

Loans:
 
 

 
 

 
 

 
 

 
 

 
 
 
 

Individually evaluated for impairment
 
$
4,408

 
$
13,191

 
$
1,994

 
$
430

 
$
7

 
$
98

 
$
20,128

Collectively evaluated for impairment
 
815,231

 
1,083,284

 
331,613

 
322,396

 
16,662

 
55,825

 
$
2,625,011

Total ending loans balance
 
$
819,639

 
$
1,096,475

 
$
333,607

 
$
322,826

 
$
16,669

 
$
55,923

 
$
2,645,139

 
 
Residential
Real Estate
 
Commercial
Real Estate
 
Commercial
 
Home
Equity
 
Consumer
 
HPFC
 
Total
For The Year Ended December 31, 2017
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ALL:
 
 

 
 

 
 

 
 

 
 

 
 
 
 

Beginning balance
 
$
4,160

 
$
12,154

 
$
3,755

 
$
2,194

 
$
181

 
$
672

 
$
23,116

Loans charged off
 
(482
)
 
(124
)
 
(1,014
)
 
(434
)
 
(124
)
 
(290
)
 
(2,468
)
Recoveries
 
30

 
141

 
301

 
2

 
17

 
6

 
497

Provision (credit)(1)
 
1,378

 
(308
)
 
1,129

 
605

 
159

 
63

 
3,026

Ending balance
 
$
5,086

 
$
11,863

 
$
4,171

 
$
2,367

 
$
233

 
$
451

 
$
24,171

ALL balance attributable to loans:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Individually evaluated for impairment
 
$
568

 
$
1,441

 
$

 
$

 
$

 
$

 
$
2,009

Collectively evaluated for impairment
 
4,518

 
10,422

 
4,171

 
2,367

 
233

 
451

 
22,162

Total ending ALL
 
$
5,086

 
$
11,863

 
$
4,171

 
$
2,367

 
$
233

 
$
451

 
$
24,171

Loans:
 
  

 
  

 
  

 
  

 
  

 
 
 
  

Individually evaluated for impairment
 
$
5,171

 
$
6,199

 
$
1,791

 
$
429

 
$

 
$

 
$
13,590

Collectively evaluated for impairment
 
853,198

 
1,157,824

 
371,609

 
322,949

 
18,149

 
45,120

 
2,768,849

Total ending loans balance
 
$
858,369

 
$
1,164,023

 
$
373,400

 
$
323,378

 
$
18,149

 
$
45,120

 
$
2,782,439


(1)
The provision (credit) for loan losses excludes any impact for the change in the reserve for unfunded commitments, which represents management's estimate of the amount required to reflect the probable inherent losses on outstanding letters of credit and unused lines of credit. The reserve for unfunded commitments is presented within accrued interest and other liabilities on the consolidated statements of condition. At March 31, 2018 and 2017, and December 31, 2017, the reserve for unfunded commitments was $23,000, $9,000 and $20,000, respectively.

The following reconciles the three months ended March 31, 2018 and 2017, and year ended December 31, 2017 (credit) provision for loan losses to the (credit) provision for credit losses as presented on the consolidated statement of income:
 
 
Three Months Ended 
 March 31,
 
Year Ended December 31,
2017
 
 
2018
 
2017
 
(Credit) provision for loan losses
 
$
(500
)
 
$
581

 
$
3,026

Change in reserve for unfunded commitments
 
3

 
(2
)
 
9

(Credit) provision for credit losses
 
$
(497
)
 
$
579

 
$
3,035



The Company focuses on maintaining a well-balanced and diversified loan portfolio. Despite such efforts, it is recognized that credit concentrations may occasionally emerge as a result of economic conditions, changes in local demand, natural loan growth and runoff. To ensure that credit concentrations can be effectively identified, all commercial and commercial real estate loans are assigned Standard Industrial Classification codes, North American Industry Classification System codes, and state and county codes. Shifts in portfolio concentrations are monitored by the Company's Credit Risk Administration. As of March 31, 2018, the non-residential building operators' industry exposure was 11% of the Company's total loan portfolio and 26% of the total commercial real estate portfolio. There were no other industry exposures exceeding 10% of the Company's total loan portfolio as of March 31, 2018.

To further identify loans with similar risk profiles, the Company categorizes each portfolio segment into classes by credit risk characteristic and applies a credit quality indicator to each portfolio segment. The indicators for commercial, commercial real estate, residential real estate, and HPFC loans are represented by Grades 1 through 10 as outlined below. In general, risk ratings are adjusted periodically throughout the year as updated analysis and review warrants. This process may include, but is not limited to, annual credit and loan reviews, periodic reviews of loan performance metrics, such as delinquency rates, and quarterly reviews of adversely risk rated loans. The Company uses the following definitions when assessing grades for the purpose of evaluating the risk and adequacy of the ALL:

Grade 1 through 6 — Grades 1 through 6 represent groups of loans that are not subject to adverse criticism as defined in regulatory guidance. Loans in these groups exhibit characteristics that represent low to moderate risks, which is measured using a variety of credit risk criteria, such as cash flow coverage, debt service coverage, balance sheet leverage, liquidity, management experience, industry position, prevailing economic conditions, support from secondary sources of repayment and other credit factors that may be relevant to a specific loan. In general, these loans are supported by properly margined collateral and guarantees of principal parties.
Grade 7 — Loans with potential weakness (Special Mention). Loans in this category are currently protected based on collateral and repayment capacity and do not constitute undesirable credit risk, but have potential weakness that may result in deterioration of the repayment process at some future date. This classification is used if a negative trend is evident in the obligor’s financial situation. Special mention loans do not sufficiently expose the Company to warrant adverse classification.
Grade 8 — Loans with definite weakness (Substandard). Loans classified as substandard are inadequately protected by the current sound worth and paying capacity of the obligor or by collateral pledged. Borrowers experience difficulty in meeting debt repayment requirements. Deterioration is sufficient to cause the Company to look to the sale of collateral.
Grade 9 — Loans with potential loss (Doubtful). Loans classified as doubtful have all the weaknesses inherent in the substandard grade with the added characteristic that the weaknesses make collection or liquidation of the loan in full highly questionable and improbable. The possibility of some loss is extremely high, but because of specific pending factors that may work to the advantage and strengthening of the asset, its classification as an estimated loss is deferred until its more exact status may be determined.
Grade 10 — Loans with definite loss (Loss). Loans classified as loss are considered uncollectible. The loss classification does not mean that the asset has absolutely no recovery or salvage value, but rather that it is not practical or desirable to defer writing off the asset because recovery and collection time may be protracted.

Asset quality indicators are periodically reassessed to appropriately reflect the risk composition of the Company’s loan portfolio. Home equity and consumer loans are not individually risk rated, but rather analyzed as groups taking into account delinquency rates and other economic conditions which may affect the ability of borrowers to meet debt service requirements, including interest rates and energy costs. Performing loans include loans that are current and loans that are past due less than 90 days. Loans that are past due over 90 days and non-accrual loans, including TDRs, are considered non-performing.

The following summarizes credit risk exposure indicators by portfolio segment as of the following dates:
 
 
Residential 
Real Estate
 
Commercial 
Real Estate
 
Commercial
 
Home
Equity
 
Consumer
 
HPFC
 
Total
March 31, 2018
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Pass (Grades 1-6)
 
$
847,822

 
$
1,146,947

 
$
361,377

 
$

 
$

 
$
40,768

 
$
2,396,914

Performing
 

 

 

 
319,178

 
18,011

 

 
337,189

Special Mention (Grade 7)
 
662

 
8,510

 
12,437

 

 

 
174

 
21,783

Substandard (Grade 8)
 
12,049

 
14,076

 
4,201

 

 

 
1,472

 
31,798

Non-performing
 

 

 

 
1,464

 

 

 
1,464

Total
 
$
860,533

 
$
1,169,533

 
$
378,015

 
$
320,642

 
$
18,011

 
$
42,414

 
$
2,789,148

December 31, 2017
 
 

 
 

 
 

 
 

 
 

 
 
 
 
Pass (Grades 1-6)
 
$
846,394

 
$
1,130,235

 
$
354,904

 
$

 
$

 
$
43,049

 
$
2,374,582

Performing
 

 

 

 
321,727

 
18,149

 

 
339,876

Special Mention (Grade 7)
 
922

 
9,154

 
12,517

 

 

 
191

 
22,784

Substandard (Grade 8)
 
11,053

 
24,634

 
5,979

 

 

 
1,880

 
43,546

Non-performing
 

 

 

 
1,651

 

 

 
1,651

Total
 
$
858,369

 
$
1,164,023

 
$
373,400

 
$
323,378

 
$
18,149

 
$
45,120

 
$
2,782,439


 
The Company closely monitors the performance of its loan portfolio. A loan is placed on non-accrual status when the financial condition of the borrower is deteriorating, payment in full of both principal and interest is not expected as scheduled or principal or interest has been in default for 90 days or more. Exceptions may be made if the asset is well-secured by collateral sufficient to satisfy both the principal and accrued interest in full and collection is reasonably assured. When one loan to a borrower is placed on non-accrual status, all other loans to the borrower are re-evaluated to determine if they should also be placed on non-accrual status. All previously accrued and unpaid interest is reversed at this time. A loan may return to accrual status when collection of principal and interest is assured and the borrower has demonstrated timely payments of principal and interest for a reasonable period. Unsecured loans, however, are not normally placed on non-accrual status because they are charged-off once their collectability is in doubt.

The following is a loan aging analysis by portfolio segment (including loans past due over 90 days and non-accrual loans) and a summary of non-accrual loans, which include TDRs, and loans past due over 90 days and accruing as of the following dates:
 
30-59 Days
Past Due
 
60-89 Days
Past Due
 
Greater
than
90 Days
 
Total
Past Due
 
Current
 
Total Loans
Outstanding
 
Loans > 90
Days Past
Due and
Accruing
 
Non-Accrual
Loans
March 31, 2018
 

 
 

 
 

 
 

 
 

 
 

 
 

 
 

Residential real estate
$
2,969

 
$
533

 
$
4,762

 
$
8,264

 
$
852,269

 
$
860,533

 
$

 
$
6,185

Commercial real estate
1,455

 
72

 
4,167

 
5,694

 
1,163,839

 
1,169,533

 

 
4,603

Commercial
144

 
103

 
1,532

 
1,779

 
376,236

 
378,015

 

 
1,991

Home equity
1,121

 
101

 
1,083

 
2,305

 
318,337

 
320,642

 

 
1,464

Consumer
14

 
9

 

 
23

 
17,988

 
18,011

 

 

HPFC
109

 
419

 
655

 
1,183

 
41,231

 
42,414

 

 
655

Total
$
5,812

 
$
1,237

 
$
12,199

 
$
19,248

 
$
2,769,900

 
$
2,789,148

 
$

 
$
14,898

December 31, 2017
 

 
 

 
 

 
 

 
 

 
 

 
 

 
 

Residential real estate
$
3,871

 
$
1,585

 
$
4,021

 
$
9,477

 
$
848,892

 
$
858,369

 
$

 
$
4,979

Commercial real estate
849

 
323

 
5,528

 
6,700

 
1,157,323

 
1,164,023

 

 
5,642

Commercial
329

 
359

 
1,535

 
2,223

 
371,177

 
373,400

 

 
2,000

Home equity
1,046

 
173

 
1,329

 
2,548

 
320,830

 
323,378

 

 
1,650

Consumer
57

 
10

 

 
67

 
18,082

 
18,149

 

 

HPFC
139

 
1,372

 
419

 
1,930

 
43,190

 
45,120

 

 
1,043

Total
$
6,291

 
$
3,822

 
$
12,832

 
$
22,945

 
$
2,759,494

 
$
2,782,439

 
$

 
$
15,314


 
Interest income that would have been recognized if loans on non-accrual status had been current in accordance with their original terms was $162,000 and $210,000 for the three months ended March 31, 2018 and 2017, respectively.

TDRs:
The Company takes a conservative approach with credit risk management and remains focused on community lending and reinvesting. The Company works closely with borrowers experiencing credit problems to assist in loan repayment or term modifications. TDRs consist of loans where the Company, for economic or legal reasons related to the borrower’s financial difficulties, granted a concession to the borrower that it would not otherwise consider. TDRs, typically, involve term modifications or a reduction of either interest or principal. Once such an obligation has been restructured, it will remain a TDR until paid in full, or until the loan is again restructured at current market rates and no concessions are granted.

The specific reserve allowance was determined by discounting the total expected future cash flows from the borrower at the original loan interest rate, or if the loan is currently collateral-dependent, using the net realizable value, which was obtained through independent appraisals and internal evaluations. The following is a summary of TDRs, by portfolio segment, and the associated specific reserve included within the ALL as of the periods indicated:
 
 
Number of Contracts
 
Recorded Investment
 
Specific Reserve
 
 
March 31, 2018
 
December 31, 2017
 
March 31, 2018
 
December 31, 2017
 
March 31, 2018
 
December 31, 2017
Residential real estate
 
24

 
24

 
$
3,581

 
$
3,604

 
$
410

 
$
452

Commercial real estate
 
2

 
3

 
354

 
976

 
20

 
16

Commercial
 
7

 
7

 
1,339

 
1,345

 

 

Home equity
 
2

 
2

 
306

 
307

 

 

Total
 
35

 
36

 
$
5,580

 
$
6,232

 
$
430

 
$
468



At March 31, 2018, the Company had performing and non-performing TDRs with a recorded investment balance of $4.4 million and $1.2 million, respectively. At December 31, 2017, the Company had performing and non-performing TDRs with a recorded investment balance of $5.0 million and $1.2 million, respectively.

The following represents loan modifications that qualify as TDRs that occurred for the three months ended March 31, 2018 and 2017:
 
 
Number of Contracts
 
Pre-Modification
Outstanding
Recorded Investment
 
Post-Modification
Outstanding
Recorded Investment
 
Specific Reserve
 
 
2018
 
2017
 
2018
 
2017
 
2018
 
2017
 
2018
 
2017
Residential real estate:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Maturity concession
 

 
1

 
$

 
$
151

 
$

 
$
151

 
$

 
$
15

Total
 

 
1

 
$

 
$
151

 
$

 
$
151

 
$

 
$
15



For the three months ended March 31, 2018 and 2017, no loans were modified as TDRs within the previous 12 months for which the borrower subsequently defaulted.
Impaired Loans:
Impaired loans consist of non-accrual loans and TDRs that are individually evaluated for impairment in accordance with the Company's policy. The following is a summary of impaired loan balances and the associated allowance by portfolio segment as of and for the three months ended March 31, 2018 and 2017, and as of and for the year-ended December 31, 2017:
 
 
 
 
 
 
 
For the
Three Months Ended
 
Recorded
Investment
 
Unpaid
Principal
Balance
 
Related
Allowance
 
Average
Recorded
Investment
 
Interest
Income
Recognized
March 31, 2018:
 
 
 
 
 
 
 
 
 
With an allowance recorded:
 

 
 

 
 

 
 

 
 

Residential real estate
$
3,544

 
$
3,544

 
$
553

 
$
3,745

 
$
30

Commercial real estate
3,591

 
3,591

 
368

 
4,275

 
1

Commercial

 

 

 

 

Home equity
147

 
147

 
112

 
49

 

Consumer

 

 

 

 

HPFC

 

 

 

 

Ending balance
7,282

 
7,282

 
1,033

 
8,069

 
31

Without an allowance recorded:
 

 
 

 
 

 
 

 
 

Residential real estate
1,515

 
1,791

 

 
1,350

 
7

Commercial real estate
370

 
677

 

 
637

 
3

Commercial
1,714

 
2,923

 

 
1,740

 
2

Home equity
344

 
468

 

 
396

 
2

Consumer

 

 

 

 

HPFC

 

 

 

 

Ending balance
3,943

 
5,859

 

 
4,123

 
14

Total impaired loans
$
11,225

 
$
13,141

 
$
1,033

 
$
12,192

 
$
45

March 31, 2017:
 
 
 
 
 
 
 
 
 
With an allowance recorded:
 

 
 

 
 

 
 

 
 

Residential real estate
$
3,048

 
$
3,048

 
$
485

 
$
3,025

 
$
26

Commercial real estate
11,791

 
11,791

 
1,100

 
11,654

 

Commercial
1

 
1

 

 

 

Home equity
297

 
297

 
83

 
298

 

Consumer

 

 

 

 

HPFC
98

 
98

 
66

 
98

 

Ending Balance
15,235

 
15,235

 
1,734

 
15,075

 
26

Without an allowance recorded:
 

 
 

 
 

 
 

 
 

Residential real estate
1,360

 
1,740

 

 
1,292

 
2

Commercial real estate
1,400

 
1,707

 

 
1,704

 
10

Commercial
1,993

 
3,167

 

 
2,024

 
3

Home equity
133

 
269

 

 
139

 

Consumer
7

 
10

 

 
7

 

HPFC

 

 

 

 

Ending Balance
4,893

 
6,893

 

 
5,166

 
15

Total impaired loans
$
20,128

 
$
22,128

 
$
1,734

 
$
20,241

 
$
41



 
 
 
 
 
 
 
For the
Year Ended
 
Recorded
Investment
 
Unpaid
Principal
Balance
 
Related
Allowance
 
Average
Recorded
Investment
 
Interest
Income
Recognized
December 31, 2017:
 
 
 
 
 
 
 
 
 
With an allowance recorded:
 
 
 

 
 

 
 

 
 

Residential real estate
$
3,858

 
$
3,858

 
$
568

 
$
3,177

 
$
131

Commercial real estate
5,422

 
5,422

 
1,441

 
8,900

 
22

Commercial

 

 

 
31

 

Home equity

 

 

 
125

 

Consumer

 

 

 

 

HPFC

 

 

 
24

 

Ending Balance
9,280

 
9,280

 
2,009

 
12,257

 
153

Without an allowance recorded:
  

 
  

 
  

 
  

 
  

Residential real estate
1,313

 
1,673

 

 
1,345

 
15

Commercial real estate
777

 
1,084

 

 
1,132

 
29

Commercial
1,791

 
2,964

 

 
1,920

 
10

Home equity
429

 
495

 

 
310

 
8

Consumer

 

 

 
2

 

HPFC

 

 

 

 

Ending Balance
4,310

 
6,216

 

 
4,709

 
62

Total impaired loans
$
13,590

 
$
15,496

 
$
2,009

 
$
16,966

 
$
215



Loan Sales:
For the three months ended March 31, 2018 and 2017, the Company sold $45.2 million and $43.0 million, respectively, of fixed rate residential mortgage loans on the secondary market that resulted in gains on the sale of loans (net of costs) of $1.2 million and $1.3 million, respectively.

At March 31, 2018 and December 31, 2017, the Company had certain residential mortgage loans with a principal balance of $9.5 million and $8.1 million, respectively, designated as held for sale. The Company has elected the fair value option of accounting for its loans held for sale, and at March 31, 2018 and December 31, 2017, recorded an unrealized gain of $47,000 and $37,000, respectively. For the three months ended March 31, 2018 and 2017, the Company recorded within mortgage banking income, net on its consolidated statements of income the net change in unrealized gains of $9,000 and $254,000, respectively, on its loans held for sale.

The Company has forward delivery commitments with a secondary market investor on each of its loans held for sale at March 31, 2018 and December 31, 2017. The fair value of its forward delivery commitments at March 31, 2018 and December 31, 2017 was $123,000 and $142,000, respectively. For the three months ended March 31, 2018 and 2017, the net unrealized loss from the change in fair value on the Company's forward delivery commitments reported within mortgage banking income, net on the consolidated statements of income were $19,000 and $118,000, respectively. Refer to Note 12 for further discussion of the Company's forward delivery commitments.

In-Process Foreclosure Proceedings:

At March 31, 2018 and December 31, 2017, the Company had $2.0 million and $1.9 million, respectively, of consumer mortgage loans secured by residential real estate properties for which foreclosure proceedings were in process. The Company continues to be focused on working these consumer mortgage loans through the foreclosure process to resolution; however, the foreclosure process, typically, will take 18 to 24 months due to the State of Maine foreclosure laws.

FHLB Advances:

FHLB advances are those borrowings from the FHLBB greater than 90 days. FHLB advances are collateralized by a blanket lien on qualified collateral consisting primarily of loans with first mortgages secured by one- to four-family properties, certain commercial real estate loans, certain pledged investment securities and other qualified assets. The carrying value of residential real estate and commercial loans pledged as collateral was $1.1 billion at March 31, 2018 and December 31, 2017.

Refer to Notes 4 and 10 of the consolidated financial statements for discussion of securities pledged as collateral.