Loans & Allowance for Loan Losses | 7. LOANS & ALLOWANCE FOR LOAN LOSSES Loans that management has the intent and ability to hold for the foreseeable future or until maturity or pay-off are stated at the principal amount outstanding, net of deferred loan fees and costs. Interest income is accrued on the principal amount outstanding. Loan origination and commitment fees and related direct costs are deferred and amortized to income over the term of the respective loan and loan commitment period as a yield adjustment. Loans held-for-sale consists of residential mortgage loans that are carried at the lower of aggregate cost or fair value. Net unrealized losses, if any, are recognized through a valuation allowance charged to income. Gains and losses on residential mortgages held-for-sale are included in non-interest income. QNB maintains an allowance for loan losses, which is intended to absorb probable known and inherent losses in the outstanding loan portfolio. The allowance is reduced by actual credit losses and is increased by the provision for loan losses and recoveries of previous losses. The provisions for loan losses are charged to earnings to bring the total allowance for loan losses to a level considered necessary by management. The allowance for loan losses is based on management’s continuing review and evaluation of the loan portfolio. The level of the allowance is determined by assigning specific reserves to individually identified problem credits and general reserves to all other loans. For such loans that are also classified as impaired, an allowance is established when the discounted cash flows (or collateral value) of the impaired loan is lower than the carrying value of that loan. The portion of the allowance that is allocated to internally criticized and non-accrual loans is determined by estimating the inherent loss on each credit after giving consideration to the value of underlying collateral. The general component covers pools of loans by loan class including commercial loans not considered impaired, as well as smaller balance homogeneous loans, such as residential real estate, home equity and other consumer loans. These pools of loans are evaluated for loss exposure based upon historical loss rates. These loss rates are based on a three-year history of charge-offs and are more heavily weighted for recent experience for each of these categories of loans, adjusted for qualitative factors. These qualitative risk factors include: 1. Lending policies and procedures, including underwriting standards and collection, charge-off and recovery practices. 2. Effect of external factors, such as legal and regulatory requirements. 3. National, regional, and local economic and business conditions as well as the condition of various market segments, including the value of underlying collateral for collateral dependent loans. 4. Nature and volume of the portfolio including growth. 5. Experience, ability, and depth of lending management and staff. 6. Volume and severity of past due, classified and nonaccrual loans. 7. Quality of the Company’s loan review system, and the degree of oversight by the Company’s Board of Directors. 8. Existence and effect of any concentrations of credit and changes in the level of such concentrations. Each factor is assigned a value to reflect improving, stable or declining conditions based on management’s best judgment using relevant information available at the time of the evaluation. An unallocated component is maintained to cover uncertainties that could affect management’s estimate of probable losses. The unallocated component of the allowance reflects the margin of imprecision inherent in the underlying assumptions used in the methodologies for estimating specific and general losses in the portfolio. Management emphasizes loan quality and close monitoring of potential problem credits. Credit risk identification and review processes are utilized to assess and monitor the degree of risk in the loan portfolio. QNB’s lending and credit administration staff are charged with reviewing the loan portfolio and identifying changes in the economy or in a borrower’s circumstances which may affect the ability to repay debt or the value of pledged collateral. A loan classification and review system exists that identifies those loans with a higher than normal risk of uncollectibility. Each commercial loan is assigned a grade based upon an assessment of the borrower’s financial capacity to service the debt and the presence and value of collateral for the loan. An independent loan review group tests risk assessments and evaluates the adequacy of the allowance for loan losses. Management meets monthly to review the credit quality of the loan portfolio and quarterly to review the allowance for loan losses. In addition, various regulatory agencies, as an integral part of their examination process, periodically review QNB’s allowance for loan losses. Such agencies may require QNB to recognize additions to the allowance based on their judgments using information available to them at the time of their examination. Management believes that it uses the best information available to make determinations about the adequacy of the allowance and that it has established its existing allowance for loan losses in accordance with GAAP. If circumstances differ substantially from the assumptions used in making determinations, future adjustments to the allowance for loan losses may be necessary and results of operations could be affected. Because future events affecting borrowers and collateral cannot be predicted with certainty, there can be no assurance that increases to the allowance will not be necessary should the quality of any loans deteriorate as a result of the factors discussed above. Major classes of loans are as follows: June 30 December 31, 2017 2016 Commercial: Commercial and industrial $ 140,218 $ 110,233 Construction 44,823 39,268 Secured by commercial real estate 276,738 255,188 Secured by residential real estate 68,704 68,731 State and political subdivisions 35,259 35,260 Retail: 1-4 family residential mortgages 51,138 47,124 Home equity loans and lines 71,791 71,525 Consumer 6,394 5,670 Total loans 695,065 632,999 Net unearned costs 148 80 Loans receivable $ 695,213 $ 633,079 Loans secured by commercial real estate include all loans collateralized at least in part by commercial real estate. These loans may not be for the expressed purpose of conducting commercial real estate transactions. Overdrafts are reclassified as loans and are included in consumer loans above and total loans on the balance sheet. At June 30, 2017 and December 31, 2016, overdrafts were approximately $100,000 and $171,000, respectively. QNB generally lends in its trade area which is comprised of Quakertown and the surrounding communities. To a large extent, QNB makes loans collateralized at least in part by real estate. Its lending activities could be affected by changes in the general economy, the regional economy, or real estate values. Other than disclosed in the table above, at June 30, 2017, there were no concentrations of loans exceeding 10% of total loans. The Company engages in a variety of lending activities, including commercial, residential real estate and consumer transactions. The Company focuses its lending activities on individuals, professionals and small to medium sized businesses. Risks associated with lending activities include economic conditions and changes in interest rates, which can adversely impact both the ability of borrowers to repay their loans and the value of the associated collateral. Commercial and industrial loans, commercial real estate loans, construction loans and residential real estate loans with a business purpose are generally perceived as having more risk of default than residential real estate loans with a personal purpose and consumer loans. These types of loans involve larger loan balances to a single borrower or groups of related borrowers and are more susceptible to a risk of loss during a downturn in the business cycle. These loans may involve greater risk because the availability of funds to repay these loans depends on the successful operation of the borrower’s business. The assets financed are used within the business for its ongoing operation. Repayment of these kinds of loans generally comes from the cash flow of the business or the ongoing conversions of assets, such as accounts receivable and inventory, to cash. Typical collateral for commercial and industrial loans includes the borrower’s accounts receivable, inventory and machinery and equipment. Commercial real estate and residential real estate loans secured for a business purpose are originated primarily within the eastern Pennsylvania market area at conservative loan-to-value ratios and often backed by the individual guarantees of the borrowers or owners. Repayment of this kind of loan is dependent upon either the ongoing cash flow of the borrowing entity or the resale of or lease of the subject property. Commercial real estate loans may be affected to a greater extent than residential loans by adverse conditions in real estate markets or the economy because commercial real estate borrowers’ ability to repay their loans depends on successful development of their properties, as well as the factors affecting residential real estate borrowers. Loans to state and political subdivisions are tax-exempt or taxable loans to municipalities, school districts and housing and industrial development authorities. These loans can be general obligations of the municipality or school district repaid through their taxing authority, revenue obligations repaid through the income generated by the operations of the authority, such as a water or sewer authority, or loans issued to a housing and industrial development agency, for which a private corporation is responsible for payments on the loans. Indirect lease financing receivables represent loans to small businesses that are collateralized by equipment. These loans tend to have higher risk characteristics but generally provide higher rates of return. These loans are originated by a third party and purchased by QNB based on criteria specified by QNB. In October 2016, the Company sold its interest in these third-party originated lease financing receivables. The Company originates fixed-rate and adjustable-rate real estate-residential mortgage loans for personal purposes that are secured by first liens on the underlying 1-4 family residential properties. Credit risk exposure in this area of lending is minimized by the evaluation of the credit worthiness of the borrower, including debt-to-income ratios, credit scores and adherence to underwriting policies that emphasize conservative loan-to-value ratios of generally no more than 80%. Residential mortgage loans granted in excess of the 80% loan-to-value ratio criterion are generally insured by private mortgage insurance. The real estate-home equity portfolio consists of fixed-rate home equity loans and variable-rate home equity lines of credit. Risks associated with loans secured by residential properties are generally lower than commercial loans and include general economic risks, such as the strength of the job market, employment stability and the strength of the housing market. Since most loans are secured by a primary or secondary residence, the borrower’s continued employment is the greatest risk to repayment. The Company offers a variety of loans to individuals for personal and household purposes. Consumer loans are generally considered to have greater risk than first or second mortgages on real estate because they may be unsecured, or, if they are secured, the value of the collateral may be difficult to assess and is more likely to decrease in value than real estate. Credit risk in this portfolio is controlled by conservative underwriting standards that consider debt-to-income levels and the creditworthiness of the borrower and, if secured, collateral values. The Company employs an eight (8) grade risk rating system related to the credit quality of commercial loans, loans to state and political subdivisions and indirect lease financing of which the first four categories are pass categories (credits not adversely rated). The following is a description of the internal risk ratings and the likelihood of loss related to each risk rating. 1 - Excellent - no apparent risk 2 - Good - minimal risk 3 - Acceptable - average risk 4 - Watch List - greater than average risk 5 - Special Mention - potential weaknesses 6 - Substandard - well defined weaknesses 7 - Doubtful - full collection unlikely 8 - Loss - considered uncollectible The Company maintains a loan review system, which allows for a periodic review of our loan portfolio and the early identification of potential problem loans. Each loan officer assigns a rating to all loans in the portfolio at the time the loan is originated. Loans with risk ratings of one through three are reviewed annually based on the borrower’s fiscal year. Loans with risk ratings of four are reviewed every six to twelve months based on the dollar amount of the relationship with the borrower. Loans with risk ratings of five through eight are reviewed at least quarterly, and as often as monthly, at management’s discretion. The Company also utilizes an outside loan review firm to review the portfolio on a semi-annual basis to provide the Board of Directors and senior management an independent review of the Bank’s loan portfolio on an ongoing basis. These reviews are designed to recognize deteriorating credits in their earliest stages in an effort to reduce and control risk in the lending function as well as identifying potential shifts in the quality of the loan portfolio. The examinations by the outside loan review firm include the review of lending activities with respect to underwriting and processing new loans, monitoring the risk of existing loans and to provide timely follow-up and corrective action for loans showing signs of deterioration in quality. In addition, the outside firm reviews the methodology for the allowance for loan losses to determine compliance to policy and regulatory guidance. The following tables present the classes of the loan portfolio summarized by the aggregate pass rating and the classified ratings of special mention, substandard and doubtful within the Company’s internal risk rating system as of June 30, 2017 and December 31, 2016: June 30, 2017 Pass Special mention Substandard Doubtful Total Commercial: Commercial and industrial $ 132,360 $ 3,153 $ 4,705 $ — $ 140,218 Construction 44,819 — 4 — 44,823 Secured by commercial real estate 261,754 4,630 10,354 — 276,738 Secured by residential real estate 65,984 227 2,493 — 68,704 State and political subdivisions 35,259 — — — 35,259 Total $ 540,176 $ 8,010 $ 17,556 $ — $ 565,742 December 31, 2016 Pass Special mention Substandard Doubtful Total Commercial: Commercial and industrial $ 102,396 $ 686 $ 7,151 $ — $ 110,233 Construction 39,259 — 9 — 39,268 Secured by commercial real estate 238,290 5,185 11,713 — 255,188 Secured by residential real estate 65,169 231 3,331 — 68,731 State and political subdivisions 35,260 — — — 35,260 Total $ 480,374 $ 6,102 $ 22,204 $ — $ 508,680 For retail loans, the Company evaluates credit quality based on the performance of the individual credits. The following tables present the recorded investment in the retail classes of the loan portfolio based on payment activity as of June 30, 2017 and December 31, 2016: June 30, 2017 Performing Non-performing Total Retail: 1-4 family residential mortgages $ 50,264 $ 874 $ 51,138 Home equity loans and lines 71,679 112 71,791 Consumer 6,305 89 6,394 Total $ 128,248 $ 1,075 $ 129,323 December 31, 2016 Performing Non-performing Total Retail: 1-4 family residential mortgages $ 46,858 $ 266 $ 47,124 Home equity loans and lines 71,436 89 71,525 Consumer 5,577 93 5,670 Total $ 123,871 $ 448 $ 124,319 The performance and credit quality of the loan portfolio is also monitored by analyzing the age of the loans receivable as determined by the length of time a recorded payment is past due. The following table presents the classes of the loan portfolio summarized by the past due status as of June 30, 2017 and December 31, 2016: June 30, 2017 30-59 past due 60-89 days past due 90 days or more past due Total past due loans Current Total loans receivable Commercial: Commercial and industrial $ 73 — — $ 73 $ 140,145 $ 140,218 Construction — — — — 44,823 44,823 Secured by commercial real estate 59 — $ 775 834 275,904 276,738 Secured by residential real estate 218 $ 204 155 577 68,127 68,704 State and political subdivisions — — — — 35,259 35,259 Retail: 1-4 family residential mortgages — — 481 481 50,657 51,138 Home equity loans and lines — 31 50 81 71,710 71,791 Consumer 23 7 10 40 6,354 6,394 Total $ 373 $ 242 $ 1,471 $ 2,086 $ 692,979 $ 695,065 December 31, 2016 30-59 days past due 60-89 days past due 90 days or more past due Total past due loans Current Total loans receivable Commercial: Commercial and industrial $ 463 — — $ 463 $ 109,770 $ 110,233 Construction 214 — — 214 39,054 39,268 Secured by commercial real estate 64 $ 395 $ 1,596 2,055 253,133 255,188 Secured by residential real estate — — 285 285 68,446 68,731 State and political subdivisions — — — — 35,260 35,260 Retail: 1-4 family residential mortgages 1,459 323 — 1,782 45,342 47,124 Home equity loans and lines 107 15 — 122 71,403 71,525 Consumer 14 2 — 16 5,654 5,670 Total $ 2,321 $ 735 $ 1,881 $ 4,937 $ 628,062 $ 632,999 The following tables disclose the recorded investment in loans receivable that are either on non-accrual status or past due 90 days or more and still accruing interest as of June 30, 2017 and December 31, 2016: June 30, 2017 90 due (still accruing) Non-accrual Commercial: Commercial and industrial $ — $ 4,467 Construction — — Secured by commercial real estate — 2,140 Secured by residential real estate — 1,771 State and political subdivisions — — Retail: 1-4 family residential mortgages — 874 Home equity loans and lines — 112 Consumer — 89 Total $ — $ 9,453 December 31, 2016 90 due (still accruing) Non-accrual Commercial: Commercial and industrial $ — $ 4,798 Construction — — Secured by commercial real estate — 3,007 Secured by residential real estate — 1,866 State and political subdivisions — — Retail: 1-4 family residential mortgages — 266 Home equity loans and lines — 89 Consumer — 93 Total $ — $ 10,119 Activity in the allowance for loan losses for the three months ended June 30, 2017 and 2016 are as follows: Three months ended June 30, 2017 Balance, beginning of period Provision for (credit to) loan losses Charge-offs Recoveries Balance, end of period Commercial: Commercial and industrial $ 1,978 $ 191 — $ 8 $ 2,177 Construction 463 53 — — 516 Secured by commercial real estate 2,577 61 — 2 2,640 Secured by residential real estate 1,344 (156 ) — 12 1,200 State and political subdivisions 124 (1 ) — — 123 Retail: 1-4 family residential mortgages 415 24 — — 439 Home equity loans and lines 342 (25 ) — 2 319 Consumer 77 9 $ (18 ) 10 78 Unallocated 399 144 N/A N/A 543 Total $ 7,719 $ 300 $ (18 ) $ 34 $ 8,035 Three months ended June 30, 2016 Balance, beginning of period Provision for (credit to) loan losses Charge-offs Recoveries Balance, end of period Commercial: Commercial and industrial $ 1,334 $ 6 — $ 10 $ 1,350 Construction 352 77 — — 429 Secured by commercial real estate 2,292 (63 ) — 2 2,231 Secured by residential real estate 1,690 (162 ) $ (20 ) 42 1,550 State and political subdivisions 196 8 — — 204 Indirect lease financing 208 52 (43 ) 9 226 Retail: 1-4 family residential mortgages 352 (54 ) — — 298 Home equity loans and lines 352 (14 ) — 5 343 Consumer 69 15 (16 ) 5 73 Unallocated 711 135 N/A N/A 846 Total $ 7,556 $ — $ (79 ) $ 73 $ 7,550 Activity in the allowance for loan losses for the six months ended June 30, 2017 and 2016 are as follows: Six months ended June 30, 2017 Balance, beginning of period Provision for (credit to) loan losses Charge-offs Recoveries Balance, end of period Commercial: Commercial and industrial $ 1,459 $ 698 — $ 20 $ 2,177 Construction 449 67 — — 516 Secured by commercial real estate 2,646 (10 ) — 4 2,640 Secured by residential real estate 1,760 (592 ) $ (3 ) 35 1,200 State and political subdivisions 123 — — — 123 Retail: 1-4 family residential mortgages 366 73 — — 439 Home equity loans and lines 353 (39 ) — 5 319 Consumer 76 22 (39 ) 19 78 Unallocated 162 381 N/A N/A 543 Total $ 7,394 $ 600 $ (42 ) $ 83 $ 8,035 Six months ended June 30, 2016 Balance, beginning of period Provision for (credit to) loan losses Charge-offs Recoveries Balance, end of period Commercial: Commercial and industrial $ 1,521 $ (50 ) $ (140 ) $ 19 $ 1,350 Construction 286 143 — — 429 Secured by commercial real estate 2,411 (184 ) — 4 2,231 Secured by residential real estate 1,812 (302 ) (20 ) 60 1,550 State and political subdivisions 222 (18 ) — — 204 Indirect lease financing 164 105 (52 ) 9 226 Retail: 1-4 family residential mortgages 350 (52 ) — — 298 Home equity loans and lines 428 (95 ) — 10 343 Consumer 76 16 (33 ) 14 73 Unallocated 284 562 N/A N/A 846 Total $ 7,554 $ 125 $ (245 ) $ 116 $ 7,550 As previously discussed, the Company maintains a loan review system, which includes a continuous review of the loan portfolio by internal and external parties to aid in the early identification of potential impaired loans. A loan is considered impaired when, based on current information and events, it is probable that the Company will be unable to collect the scheduled payments of principal or interest when due according to the contractual terms of the loan agreement. Factors considered by management in determining impairment include payment status, collateral value and the probability of collecting scheduled principal and interest payments when due. Loans that experience insignificant payment delays and payment shortfalls generally are not classified as impaired. Management determines the significance of payment delays and payment shortfalls on a case-by-case basis, taking into consideration all of the circumstances surrounding the loan and the borrower, including the length of the delay, the reasons for the delay, the borrower’s prior payment record and the amount of the shortfall in relation to the principal and interest owed. Impairment is measured on a loan by loan basis for commercial loans, loans to state and political subdivisions and indirect lease financing loans by using either the present value of expected future cash flows discounted at the loan’s effective interest rate or the fair value of the collateral if the loan is collateral dependent. Large groups of smaller balance homogeneous loans are collectively evaluated for impairment. Accordingly, the Company does not separately identify individual consumer and residential mortgage loans for impairment disclosures, unless such loans are part of a larger relationship that is impaired, or are classified as a troubled debt restructuring. An allowance for loan losses is established for an impaired loan if its carrying value exceeds its estimated fair value. The estimated fair values of the majority of the Company’s impaired loans are measured based on the estimated fair value of the loan’s collateral. For commercial loans secured by real estate, estimated fair values are determined primarily through third-party appraisals. When a real estate secured loan becomes impaired, a decision is made regarding whether an updated certified appraisal of the real estate is necessary. This decision is based on various considerations, including the age of the most recent appraisal, the loan-to-value ratio based on the original appraisal and the condition of the property. Appraised values are discounted to arrive at the estimated selling price of the collateral, which is considered to be the estimated fair value. The discounts also include estimated costs to sell the property. For commercial loans secured by non-real estate collateral, such as accounts receivable, inventory and equipment, estimated fair values are determined based on the borrower’s financial statements, inventory reports, accounts receivable agings or equipment appraisals or invoices. Indications of value from these sources are generally discounted based on the age of the financial information or the quality of the assets. From time to time, QNB may extend, restructure, or otherwise modify the terms of existing loans, on a case-by-case basis, to remain competitive and retain certain customers, as well as assist other customers that may be experiencing financial difficulties. A loan is considered to be a troubled debt restructuring (“TDR”) loan when the Company grants a concession to the borrower because of the borrower’s financial condition that it would not otherwise consider. Such concessions include the reduction of interest rates, forgiveness of principal or interest, or other modifications of interest rates to less than the current market rate for new obligations with similar risk. Loans classified as TDRs are considered non-performing and are also designated as impaired. The concessions made for TDRs involve lowering the monthly payments on loans through periods of interest only payments, a reduction in interest rate below a market rate or an extension of the term of the loan without a corresponding adjustment to the risk premium reflected in the interest rate, or a combination of these three methods. The restructurings rarely result in the forgiveness of principal or accrued interest. If the borrower has demonstrated performance under the previous terms and our underwriting process shows the borrower has the capacity to continue to perform under the restructured terms, the loan will continue to accrue interest. Non-accruing restructured loans may be returned to accrual status when there has been a sustained period of repayment performance (generally six consecutive months of payments) and both principal and interest are deemed collectible. TDR loans that are in compliance with their modified terms and that yield a market rate may be removed from the TDR status after a period of performance. Performing TDRs (not reported as non-accrual or past due 90 days or more and still accruing) totaled $1,393,000 and $1,819,000 as of June 30, 2017 and December 31, 2016, respectively. Non-performing TDRs totaled $3,339,000 and $3,555,000 as of June 30, 2017 and December 31, 2016, respectively. All TDRs are included in impaired loans. The following table illustrates the specific reserve for loan losses allocated to loans modified as TDRs. These specific reserves are included in the allowance for loan losses for loans individually evaluated for impairment. June 30, 2017 December 31, 2016 Unpaid principal balance Related allowance Unpaid principal balance Related allowance TDRs with no specific allowance recorded $ 4,110 — $ 3,992 — TDRs with an allowance recorded 622 $ 311 1,382 $ 761 Total $ 4,732 $ 311 $ 5,374 $ 761 There were no newly identified TDRs during the six months ended June 30, 2017. As of June 30, 2017, and December 31, 2016, QNB had commitments of $20,000 and $30,000, respectively, to lend additional funds to customers with loans whose terms have been modified in troubled debt restructurings. There were net charge-offs of $3,000 and $0 during the six months ended June 30, 2017 and 2016, respectively, resulting from loans previously modified as TDRs. The following tables present loans, by loan class, modified as TDRs during the three and six months ended June 30, 2017 and 2016. The pre-modification and post-modification outstanding recorded investments disclosed in the tables below, represent carrying amounts immediately prior to the modification and as of the period end indicated. Three months ended June 30, 2017 2016 Number contracts Pre-modification outstanding recorded investment Post-modification outstanding recorded investment Number of contracts Pre-modification outstanding recorded investment Post-modification outstanding recorded investment Commercial: Secured by residential real estate — $ — $ — 1 $ 41 $ 41 Six months ended June 30, 2017 2016 Number contracts Pre-modification outstanding recorded investment Post-modification outstanding recorded investment Number of contracts Pre-modification outstanding recorded investment Post-modification outstanding recorded investment Commercial: Commercial and industrial — $ — $ — 6 $ 1,074 $ 1,069 Secured by residential real estate — — — 4 524 512 Total — $ — $ — 10 $ 1,598 $ 1,581 There was one loan with an outstanding balance of $21,000 that was modified as a TDR within 12 months prior to June 30, 2017 for which there was a payment default (60 days or more past due) during the six months ended June 30, 2017. There were no loans modified as TDRs within 12 months prior to June 30, 2016 for which there was a payment default during the six months ended June 30, 2016. The Company has three consumer mortgage loans secured by residential real estate for which foreclosure proceedings are in process at June 30, 2017. The recorded investment is $531,000. The following tables present the balance in the allowance for loan losses at June 30, 2017 and December 31, 2016 disaggregated based on the Company’s impairment method by class of loans receivable along with the balance of loans receivable by class, excluding unearned fees and costs, disaggregated based on the Company’s impairment methodology: Allowance for Loan Losses Loans Receivable June 30, 2017 Balance Balance to loans individually evaluated for impairment Balance related to loans collectively evaluated for impairment Balance Balance individually evaluated for impairment Balance collectively evaluated for impairment Commercial: Commercial and industrial $ 2,177 $ 964 $ 1,213 $ 140,218 $ 4,712 $ 135,506 Construction 516 — 516 44,823 4 44,819 Secured by commercial real estate 2,640 42 2,598 276,738 5,401 271,337 Secured by residential real estate 1,200 127 1,073 68,704 2,200 66,504 State and political subdivisions 123 — 123 35,259 — 35,259 Retail: 1-4 family residential mortgages 439 — 439 51,138 1,213 49,925 Home equity loans and lines 319 — 319 71,791 134 71,657 Consumer 78 — 78 6,394 89 6,305 Unallocated 543 N/A N/A N/A N/A N/A Total $ 8,035 $ 1,133 $ 6,359 $ 695,065 $ 13,753 $ 681,312 Allowance for Loan Losses Loans Receivable December 31, 2016 Balance Balance related to loans individually evaluated for impairment Balance related to loans collectively evaluated for impairment Balance Balance individually evaluated for impairment Balance collectively evaluated for impairment Commercial: Commercial and industrial $ 1,459 $ 696 $ 763 $ 110,233 $ 5,134 $ 105,099 Construction 449 — 449 39,268 224 39,044 Secured by commercial real estate 2,646 — 2,646 255,188 6,383 248,805 Secured by residential real estate 1,760 494 1,266 68,731 2,313 66,418 State and political subdivisions 123 — 123 35,260 — 35,260 Retail: 1-4 family residential mortgages 366 8 358 47,124 748 46,376 Home equity loans and lines 353 — 353 71,525 111 71,414 Consumer 76 — 76 5,670 93 5,577 Unallocated 162 N/A N/A N/A N/A N/A Total $ 7,394 $ 1,198 $ 6,034 $ 632,999 $ 15,006 $ 617,993 The following tables summarize additional information in regards to impaired loans by loan portfolio class as of June 30, 2017 and December 31, 2016: June 30, 2017 December 31, 2016 Recorded investment (after charge-offs) Unpaid principal balance Related allowance Recorded investment (after charge-offs) Unpaid principal balance Related allowance With no specific allowance recorded: Commercial: Commercial and industrial $ 2,235 $ 2,584 $ — $ 2,482 $ 2,862 $ — Construction 4 4 — 224 234 — Secured by commercial real estate 5,299 5,832 — 6,383 6,367 — Secured by residential real estate 1,607 2,037 — 1,046 1,438 — State and political subdivisions — — — — — — Retail: 1-4 family residential mortgages 1,213 1,256 — 570 589 — Home equity loans and lines 134 176 — 111 174 — Consumer 89 92 — 93 95 — Total $ 10,581 $ 11,981 $ — $ 10,909 $ 11,759 $ — With an allowance recorded: Commercial: Commercial and industrial $ 2,477 $ 2,686 $ 964 $ 2,652 $ 2,812 $ 696 Construction — — — — — — Secured by commercial real estate 102 105 42 — — — Secured by residential real estate 593 724 127 1,267 1,435 494 State and political subdivisions — — — — — — Retail: 1-4 family residential mortgages — — — 178 193 8 Home equity loans and lines — — — — — — Consumer — — — — — — Total $ 3,172 $ 3,515 $ 1,133 $ 4,097 $ 4,440 $ 1,198 Total: Commercial: Commercial and industrial $ 4,712 $ 5,270 $ 964 $ 5,134 $ 5,674 $ 696 Construction 4 4 — 224 234 — Sec |