Loans and The Allowance for Loan Losses | LOANS AND THE ALLOWANCE FOR LOAN LOSSES A summary of the balances of loans follows: June 30, December 31, 2018 2017 (In thousands) Real estate: 1-4 family residential $ 985,901 $ 922,627 Home equity 71,956 80,662 Commercial real estate 824,731 834,264 Construction 88,337 91,050 1,970,925 1,928,603 Commercial business 268,963 253,509 Consumer 18,262 21,698 Total loans 2,258,150 2,203,810 Allowance for loan losses (20,125 ) (20,877 ) Discount and fair value adjustments on purchased loans (1,177 ) (1,477 ) Deferred loan costs and fees, net 4,898 4,691 Loans, net $ 2,241,746 $ 2,186,147 Activity in the allowance for loan losses for the three and six months ended June 30, 2018 and 2017 , by loan segment, follows: 1-4 Family Home Commercial Construction Commercial Consumer Total (In thousands) Three Months Ended June 30, 2018 Allowance at March 31, 2018 $ 5,099 $ 631 $ 9,511 $ 1,281 $ 3,353 $ 310 $ 20,185 Provision (credit) for loan losses 273 (28 ) (519 ) 198 178 (1 ) 101 Loans charged-off — — — — (153 ) (19 ) (172 ) Recoveries — — — — 11 — 11 Allowance at June 30, 2018 $ 5,372 $ 603 $ 8,992 $ 1,479 $ 3,389 $ 290 $ 20,125 Three Months Ended June 30, 2017 Allowance at March 31, 2017 $ 5,000 $ 558 $ 8,333 $ 1,457 $ 3,126 $ 401 $ 18,875 Provision (credit) for loan losses 25 51 654 153 226 9 1,118 Loans charged-off (52 ) — — — — (24 ) (76 ) Recoveries — — — — — — — Allowance at June 30, 2017 $ 4,973 $ 609 $ 8,987 $ 1,610 $ 3,352 $ 386 $ 19,917 Six Months Ended June 30, 2018 Allowance at December 31, 2017 $ 5,076 $ 699 $ 9,584 $ 1,708 $ 3,473 $ 337 $ 20,877 Provision (credit) for loan losses 296 (96 ) (398 ) (229 ) 83 (15 ) (359 ) Loans charged-off — — (194 ) — (178 ) (40 ) (412 ) Recoveries — — — — 11 8 19 Allowance at June 30, 2018 $ 5,372 $ 603 $ 8,992 $ 1,479 $ 3,389 $ 290 $ 20,125 Six Months Ended June 30, 2017 Allowance at December 31, 2016 $ 4,846 $ 537 $ 8,374 $ 1,353 $ 3,206 $ 434 $ 18,750 Provision (credit) for loan losses 105 72 613 257 137 (9 ) 1,175 Loans charged-off (52 ) — — — — (39 ) (91 ) Recoveries 74 — — — 9 — 83 Allowance at June 30, 2017 $ 4,973 $ 609 $ 8,987 $ 1,610 $ 3,352 $ 386 $ 19,917 Additional information pertaining to the allowance for loan losses at June 30, 2018 and December 31, 2017 is as follows: 1-4 Family Home Commercial Construction Commercial Consumer Total (In thousands) June 30, 2018 Allowance related to impaired loans $ 48 $ — $ — $ — $ — $ 7 $ 55 Allowance related to non-impaired loans 5,324 603 8,992 1,479 3,389 283 20,070 Total allowance for loan losses $ 5,372 $ 603 $ 8,992 $ 1,479 $ 3,389 $ 290 $ 20,125 Impaired loans $ 5,860 $ 2,224 $ 2,357 $ — $ 179 $ 96 $ 10,716 Non-impaired loans 980,041 69,732 822,374 88,337 268,784 18,166 2,247,434 Total loans $ 985,901 $ 71,956 $ 824,731 $ 88,337 $ 268,963 $ 18,262 $ 2,258,150 December 31, 2017 Allowance related to impaired loans $ 80 $ — $ — $ — $ — $ 1 $ 81 Allowance related to non-impaired loans 4,996 699 9,584 1,708 3,473 336 20,796 Total allowance for loan losses $ 5,076 $ 699 $ 9,584 $ 1,708 $ 3,473 $ 337 $ 20,877 Impaired loans $ 5,949 $ 1,387 $ 4,744 $ — $ — $ 202 $ 12,282 Non-impaired loans 916,678 79,275 829,520 91,050 253,509 21,496 2,191,528 Total loans $ 922,627 $ 80,662 $ 834,264 $ 91,050 $ 253,509 $ 21,698 $ 2,203,810 The following is a summary of past due and non-accrual loans, by loan class, at June 30, 2018 and December 31, 2017 : 30-59 Days Past Due 60-89 Days Past Due Past Due 90 Days or More Total Past Due Loans on Non-accrual (In thousands) June 30, 2018 Real estate: 1-4 family residential $ 733 $ 425 $ 1,664 $ 2,822 $ 5,393 Home equity 677 — 605 1,282 2,224 Commercial real estate — — — — 2,357 Commercial business — — — — 179 Consumer 134 — 7 141 96 Total $ 1,544 $ 425 $ 2,276 $ 4,245 $ 10,249 December 31, 2017 Real estate: 1-4 family residential $ 381 $ 348 $ 2,184 $ 2,913 $ 5,190 Home equity 509 13 656 1,178 1,387 Commercial real estate — — 3,893 3,893 4,744 Consumer 107 7 92 206 202 Total $ 997 $ 368 $ 6,825 $ 8,190 $ 11,523 There were no loans past due 90 days or more and still accruing interest at June 30, 2018 and December 31, 2017 . The following is a summary of information pertaining to impaired loans by loan class at the dates indicated: Recorded Investment Unpaid Principal Balance Related Allowance June 30, 2018 (In thousands) Impaired loans without a valuation allowance: Real estate: 1-4 family residential $ 4,337 $ 4,733 $ — Home equity 2,224 2,407 — Commercial real estate 2,357 2,488 — Commercial business 179 325 — Consumer 89 101 — Total 9,186 10,054 — Impaired loans with a valuation allowance: 1-4 family residential 1,523 1,523 48 Consumer 7 7 7 Total 1,530 1,530 55 Total impaired loans $ 10,716 $ 11,584 $ 55 December 31, 2017 Impaired loans without a valuation allowance: Real estate: 1-4 family residential $ 4,501 $ 4,897 $ — Home equity 1,387 1,523 — Commercial real estate 4,744 5,206 — Commercial business — 11 — Consumer 191 243 — Total 10,823 11,880 — Impaired loans with a valuation allowance: Real estate: 1-4 family residential 1,448 1,448 80 Consumer 11 11 1 Total 1,459 1,459 81 Total impaired loans $ 12,282 $ 13,339 $ 81 The following tables set forth information regarding average balances and interest income recognized (the majority of which is on a cash basis) on impaired loans by class, for the periods indicated: Average Recorded Investment Interest Income Recognized Three Months Ended June 30, 2018 (In thousands) Real estate: 1-4 family residential $ 5,943 $ 72 Home equity 1,775 36 Commercial real estate 2,377 22 Commercial business 242 4 Consumer 94 1 Total $ 10,431 $ 135 Three Months Ended June 30, 2017 Real estate: 1-4 family residential $ 6,395 $ 82 Home equity 1,294 15 Commercial real estate 5,048 27 Commercial business 200 2 Consumer 287 4 Total $ 13,224 $ 130 Six Months Ended June 30, 2018 Real estate: 1-4 family residential $ 5,945 $ 150 Home equity 1,357 45 Commercial real estate 3,166 46 Commercial business 162 8 Consumer 147 3 Total $ 10,777 $ 252 Six Months Ended June 30, 2017 Real estate: 1-4 family residential $ 6,505 $ 160 Home equity 1,247 29 Commercial real estate 3,679 35 Commercial business 214 5 Consumer 249 5 Total $ 11,894 $ 234 No additional funds are committed to be advanced in connection with impaired loans. Troubled debt restructurings entered into during the three and six months ended June 30, 2018 are as follows: Three Months Ended June 30, 2018 Number of contracts Pre-Modification Outstanding Recorded Investment Post-Modification Outstanding Recorded Investment Real estate: Home equity 1 $ 359 $ 359 Total 1 $ 359 $ 359 Six Months Ended June 30, 2018 Number of contracts Pre-Modification Outstanding Recorded Investment Post-Modification Outstanding Recorded Investment Real estate: 1-4 family residential 3 $ 469 $ 475 Home equity 1 359 359 Commercial real estate 1 1,563 1,563 Total 5 $ 2,391 $ 2,397 There were no material troubled debt restructurings recorded during the three and six months ended June 30, 2017 . Loans modified during the three and six months ended June 30, 2018 were modified to capitalize past due interest for residential loans and extend interest only periods for commercial real estate loans. Credit Quality Information The Company utilizes a ten-grade internal loan rating system for all loans as follows: Loans rated 1 – 6 are considered “acceptable” rated loans that are performing as agreed, and generally require only routine supervision. Loans rated 7 are considered “special mention.” These loans are starting to show signs of potential weakness and are being closely monitored by management. Loans rated 8 are considered “substandard.” Generally, a loan is considered substandard if it is inadequately protected by the current net worth and paying capacity of the obligors and/or the collateral pledged. There is a distinct possibility that the Company will sustain some loss if the weakness is not corrected. Generally, all loans 90 days delinquent are rated 8. Loans rated 9 are considered “doubtful.” Serious problems exist to the point where a partial loss of principal is likely. Weakness is so pronounced that on the basis of current information, conditions and values, collection in full is highly improbable. Loans rated 10 are considered "loss" and the credit extended to the customer is considered uncollectible or of such little value that it does not warrant consideration as an active asset. The Company assigns a 6 risk-rating to otherwise performing, satisfactorily collateralized consumer and residential loans where the Bank becomes aware of deterioration in a FICO score or other indication of potential inability to service the debt. The Company assigns risk ratings of 7-10 to residential or consumer loans that have a well-defined weakness that may jeopardize the collection of the contractual principal and interest, are contractually past due 90 days or more or legal action has commenced against the borrower. All other residential mortgage and consumer loans have no risk rating. On an annual basis, or more often if needed, the Company formally reviews the ratings on all commercial and commercial construction loans. At least annually, the Company engages an independent third party to review a significant portion of loans within these segments. Management uses the results of these reviews as part of its annual review process. In addition, management utilizes delinquency reports, the watch list and other loan reports to monitor credit quality of other loan segments. The following tables present the Company’s loans by risk rating at June 30, 2018 and December 31, 2017 : 1-4 Family Residential Home Equity Commercial Real Estate Construction Commercial Business Consumer Total Loans (In thousands) June 30, 2018 Loans rated 1 - 6 $ 1,001 $ 335 $ 815,688 $ 88,337 $ 261,966 $ 3 $ 1,167,330 Loans rated 7 2,815 2,224 5,608 — 5,974 96 16,717 Loans rated 8 2,682 — 3,435 — 1,023 — 7,140 Loans rated 9 245 — — — — — 245 Loans rated 10 — — — — — — — Loans not rated 979,158 69,397 — — — 18,163 1,066,718 $ 985,901 $ 71,956 $ 824,731 $ 88,337 $ 268,963 $ 18,262 $ 2,258,150 December 31, 2017 Loans rated 1 - 6 $ 1,022 $ 270 $ 821,815 $ 91,050 $ 252,765 $ 3 $ 1,166,925 Loans rated 7 2,848 1,523 4,660 — 744 121 9,896 Loans rated 8 2,566 — 7,789 — — — 10,355 Loans rated 9 250 — — — — — 250 Loans rated 10 — — — — — — — Loans not rated 915,941 78,869 — — — 21,574 1,016,384 $ 922,627 $ 80,662 $ 834,264 $ 91,050 $ 253,509 $ 21,698 $ 2,203,810 |