LOANS AND LEASES | LOANS AND LEASES Following is a summary of loans and leases, net of unearned income: (in thousands) Originated Loans and Leases Acquired Loans Total Loans and Leases June 30, 2018 Commercial real estate $ 5,754,367 $ 3,079,955 $ 8,834,322 Commercial and industrial 3,797,773 503,614 4,301,387 Commercial leases 337,397 — 337,397 Other 43,351 — 43,351 Total commercial loans and leases 9,932,888 3,583,569 13,516,457 Direct installment 1,772,090 119,990 1,892,080 Residential mortgages 2,297,558 553,412 2,850,970 Indirect installment 1,746,352 157 1,746,509 Consumer lines of credit 1,136,293 517,273 1,653,566 Total consumer loans 6,952,293 1,190,832 8,143,125 Total loans and leases, net of unearned income $ 16,885,181 $ 4,774,401 $ 21,659,582 December 31, 2017 Commercial real estate $ 5,174,783 $ 3,567,081 $ 8,741,864 Commercial and industrial 3,495,247 675,420 4,170,667 Commercial leases 266,720 — 266,720 Other 17,063 — 17,063 Total commercial loans and leases 8,953,813 4,242,501 13,196,314 Direct installment 1,755,713 149,822 1,905,535 Residential mortgages 2,036,226 666,465 2,702,691 Indirect installment 1,448,268 165 1,448,433 Consumer lines of credit 1,151,470 594,323 1,745,793 Total consumer loans 6,391,677 1,410,775 7,802,452 Total loans and leases, net of unearned income $ 15,345,490 $ 5,653,276 $ 20,998,766 The loans and leases portfolio categories are comprised of the following: • Commercial real estate includes both owner-occupied and non-owner-occupied loans secured by commercial properties; • Commercial and industrial includes loans to businesses that are not secured by real estate; • Commercial leases consist of leases for new or used equipment; • Other is comprised primarily of credit cards and mezzanine loans; • Direct installment is comprised of fixed-rate, closed-end consumer loans for personal, family or household use, such as home equity loans and automobile loans; • Residential mortgages consist of conventional and jumbo mortgage loans for 1 - 4 family properties; • Indirect installment is comprised of loans originated by approved third parties and underwritten by us, primarily automobile loans; and • Consumer lines of credit include home equity lines of credit and consumer lines of credit that are either unsecured or secured by collateral other than home equity. The loans and leases portfolio consists principally of loans to individuals and small- and medium-sized businesses within our primary market areas of Pennsylvania, eastern Ohio, Maryland, North Carolina, South Carolina and northern West Virginia. The following table shows certain information relating to commercial real estate loans: (dollars in thousands) June 30, December 31, Commercial construction, acquisition and development loans $ 1,176,326 $ 1,170,175 Percent of total loans and leases 5.4 % 5.6 % Commercial real estate: Percent owner-occupied 35.0 % 35.3 % Percent non-owner-occupied 65.0 % 64.7 % Acquired Loans All acquired loans were initially recorded at fair value at the acquisition date. Refer to the Acquired Loans section in Note 1 of our 2017 Annual Report on Form 10-K for a discussion of ASC 310-20 and ASC 310-30 loans. The outstanding balance and the carrying amount of acquired loans included in the Consolidated Balance Sheets are as follows: (in thousands) June 30, December 31, Accounted for under ASC 310-30: Outstanding balance $ 4,387,378 $ 5,176,015 Carrying amount 4,101,583 4,834,256 Accounted for under ASC 310-20: Outstanding balance 688,541 835,130 Carrying amount 668,859 812,322 Total acquired loans: Outstanding balance 5,075,919 6,011,145 Carrying amount 4,770,442 5,646,578 The outstanding balance is the undiscounted sum of all amounts owed under the loan, including amounts deemed principal, interest, fees, penalties and other, whether or not currently due and whether or not any such amounts have been written or charged-off. The carrying amount of purchased credit impaired loans included in the table above totaled $1.7 million at June 30, 2018 and $1.9 million at December 31, 2017 , representing 0.04% and 0.03% , respectively, of the carrying amount of total acquired loans as of each date. The following table provides changes in accretable yield for all acquired loans accounted for under ASC 310-30. Loans accounted for under ASC 310-20 are not included in this table. Six Months Ended (in thousands) 2018 2017 Balance at beginning of period $ 708,481 $ 467,070 Acquisitions — 444,715 Reduction due to unexpected early payoffs (94,456 ) (61,093 ) Reclass from non-accretable difference 128,955 40,304 Disposals/transfers (408 ) (324 ) Other (1,619 ) — Accretion (116,006 ) (100,628 ) Balance at end of period $ 624,947 $ 790,044 Cash flows expected to be collected on acquired loans are estimated quarterly by incorporating several key assumptions similar to the initial estimate of fair value. These key assumptions include probability of default and the amount of actual prepayments after the acquisition date. Prepayments affect the estimated life of the loans and could change the amount of interest income, and possibly principal expected to be collected. In reforecasting future estimated cash flows, credit loss expectations are adjusted as necessary. Improved cash flow expectations for loans or pools are recorded first as a reversal of previously recorded impairment, if any, and then as an increase in prospective yield when all previously recorded impairment has been recaptured. Decreases in expected cash flows are recognized as impairment through a charge to the provision for credit losses and credit to the allowance for credit losses. During the six months ended June 30, 2018 , there was an overall improvement in cash flow expectations which resulted in a net reclassification of $129.0 million from the non-accretable difference to accretable yield. This reclassification was $40.3 million for the six months ended June 30, 2017 . The reclassification from the non-accretable difference to the accretable yield results in prospective yield adjustments on the loan pools and was also positively impacted by the sale of $56.5 million of acquired residential mortgage loans in the second quarter of 2018. Credit Quality Management monitors the credit quality of our loan portfolio using several performance measures to do so based on payment activity and borrower performance. Non-performing loans include non-accrual loans and non-performing TDRs. Past due loans are reviewed on a monthly basis to identify loans for non-accrual status. We place originated loans on non-accrual status and discontinue interest accruals on originated loans generally when principal or interest is due and has remained unpaid for a certain number of days or when the full amount of principal and interest is due and has remained unpaid for a certain number of days, unless the loan is both well secured and in the process of collection. Commercial loans and leases are placed on non-accrual at 90 days, installment loans are placed on non-accrual at 120 days and residential mortgages and consumer lines of credit are generally placed on non-accrual at 180 days, though we may place a loan on non-accrual prior to these past due thresholds as warranted. When a loan is placed on non-accrual status, all unpaid accrued interest is reversed. Non-accrual loans may not be restored to accrual status until all delinquent principal and interest have been paid and the ultimate ability to collect the remaining principal and interest is reasonably assured. The majority of TDRs are loans in which we have granted a concession on the interest rate or the original repayment terms due to the borrower’s financial distress. Following is a summary of non-performing assets: (dollars in thousands) June 30, December 31, Non-accrual loans $ 68,696 $ 74,635 Troubled debt restructurings 24,820 23,481 Total non-performing loans 93,516 98,116 Other real estate owned 39,240 40,606 Total non-performing assets $ 132,756 $ 138,722 Asset quality ratios: Non-performing loans / total loans and leases 0.43 % 0.47 % Non-performing loans + OREO / total loans and leases + OREO 0.61 % 0.66 % Non-performing assets / total assets 0.41 % 0.44 % The carrying value of residential other real estate owned held as a result of obtaining physical possession upon completion of a foreclosure or through completion of a deed in lieu of foreclosure amounted to $6.0 million at June 30, 2018 and $3.6 million at December 31, 2017 . The recorded investment of consumer mortgage loans secured by residential real estate properties for which formal foreclosure proceedings are in process at June 30, 2018 and December 31, 2017 totaled $12.5 million and $15.2 million , respectively. The following tables provide an analysis of the aging of loans by class segregated by loans and leases originated and loans acquired: (in thousands) 30-89 Days Past Due > 90 Days Past Due and Still Accruing Non- Accrual Total Past Due (4) Current Total Loans and Leases Originated Loans and Leases June 30, 2018 Commercial real estate $ 10,476 $ 2 $ 14,652 $ 25,130 $ 5,729,237 $ 5,754,367 Commercial and industrial 5,663 3 23,367 29,033 3,768,740 3,797,773 Commercial leases 861 — 1,218 2,079 335,318 337,397 Other 163 204 1,000 1,367 41,984 43,351 Total commercial loans and leases 17,163 209 40,237 57,609 9,875,279 9,932,888 Direct installment 9,317 4,028 7,402 20,747 1,751,343 1,772,090 Residential mortgages 10,046 1,596 6,882 18,524 2,279,034 2,297,558 Indirect installment 7,592 355 2,152 10,099 1,736,253 1,746,352 Consumer lines of credit 4,187 1,039 3,280 8,506 1,127,787 1,136,293 Total consumer loans 31,142 7,018 19,716 57,876 6,894,417 6,952,293 Total originated loans and leases $ 48,305 $ 7,227 $ 59,953 $ 115,485 $ 16,769,696 $ 16,885,181 December 31, 2017 Commercial real estate $ 8,273 $ 1 $ 24,773 $ 33,047 $ 5,141,736 $ 5,174,783 Commercial and industrial 8,948 3 17,077 26,028 3,469,219 3,495,247 Commercial leases 1,382 41 1,574 2,997 263,723 266,720 Other 83 153 1,000 1,236 15,827 17,063 Total commercial loans and leases 18,686 198 44,424 63,308 8,890,505 8,953,813 Direct installment 13,192 4,466 8,896 26,554 1,729,159 1,755,713 Residential mortgages 14,096 2,832 5,771 22,699 2,013,527 2,036,226 Indirect installment 10,313 611 2,240 13,164 1,435,104 1,448,268 Consumer lines of credit 5,859 1,014 2,313 9,186 1,142,284 1,151,470 Total consumer loans 43,460 8,923 19,220 71,603 6,320,074 6,391,677 Total originated loans and leases $ 62,146 $ 9,121 $ 63,644 $ 134,911 $ 15,210,579 $ 15,345,490 (in thousands) 30-89 Days Past Due > 90 Days Past Due and Still Accruing Non- Accrual Total Past Due (1) (2) (3) Current (Discount) Premium Total Loans Acquired Loans June 30, 2018 Commercial real estate $ 20,622 $ 53,440 $ 3,231 $ 77,293 $ 3,181,557 $ (178,895 ) $ 3,079,955 Commercial and industrial 1,620 3,498 4,347 9,465 526,830 (32,681 ) 503,614 Total commercial loans 22,242 56,938 7,578 86,758 3,708,387 (211,576 ) 3,583,569 Direct installment 3,766 1,131 — 4,897 115,496 (403 ) 119,990 Residential mortgages 10,424 7,697 — 18,121 552,387 (17,096 ) 553,412 Indirect installment — 1 — 1 1 155 157 Consumer lines of credit 7,042 2,122 1,165 10,329 518,027 (11,083 ) 517,273 Total consumer loans 21,232 10,951 1,165 33,348 1,185,911 (28,427 ) 1,190,832 Total acquired loans $ 43,474 $ 67,889 $ 8,743 $ 120,106 $ 4,894,298 $ (240,003 ) $ 4,774,401 December 31, 2017 Commercial real estate $ 34,928 $ 63,092 $ 3,975 $ 101,995 $ 3,657,152 $ (192,066 ) $ 3,567,081 Commercial and industrial 3,187 6,452 5,663 15,302 698,265 (38,147 ) 675,420 Total commercial loans 38,115 69,544 9,638 117,297 4,355,417 (230,213 ) 4,242,501 Direct installment 5,267 2,013 — 7,280 141,386 1,156 149,822 Residential mortgages 17,191 15,139 — 32,330 675,499 (41,364 ) 666,465 Indirect installment — 1 — 1 10 154 165 Consumer lines of credit 6,353 3,253 1,353 10,959 596,298 (12,934 ) 594,323 Total consumer loans 28,811 20,406 1,353 50,570 1,413,193 (52,988 ) 1,410,775 Total acquired loans $ 66,926 $ 89,950 $ 10,991 $ 167,867 $ 5,768,610 $ (283,201 ) $ 5,653,276 (1) Past due information for acquired loans is based on the contractual balance outstanding at June 30, 2018 and December 31, 2017 . (2) Acquired loans are considered performing upon acquisition, regardless of whether the customer is contractually delinquent, if we can reasonably estimate the timing and amount of expected cash flows on such loans. In these instances, we do not consider acquired contractually delinquent loans to be non-accrual or non-performing and continue to recognize interest income on these loans using the accretion method. Acquired loans are considered non-accrual or non-performing when, due to credit deterioration or other factors, we determine we are no longer able to reasonably estimate the timing and amount of expected cash flows on such loans. We do not recognize interest income on acquired loans considered non-accrual or non-performing. (3) Approximately $28.5 million of acquired past-due or non-accrual loans were sold during the second quarter of 2018. (4) Approximately $14.7 million of originated past-due or non-accrual loans were sold during the second quarter of 2018. We utilize the following categories to monitor credit quality within our commercial loan and lease portfolio: Rating Category Definition Pass in general, the condition of the borrower and the performance of the loan is satisfactory or better Special Mention in general, the condition of the borrower has deteriorated, requiring an increased level of monitoring Substandard in general, the condition of the borrower has significantly deteriorated and the performance of the loan could further deteriorate if deficiencies are not corrected Doubtful in general, the condition of the borrower has significantly deteriorated and the collection in full of both principal and interest is highly questionable or improbable The use of these internally assigned credit quality categories within the commercial loan and lease portfolio permits management’s use of transition matrices to estimate a quantitative portion of credit risk. Our internal credit risk grading system is based on past experiences with similarly graded loans and leases and conforms with regulatory categories. In general, loan and lease risk ratings within each category are reviewed on an ongoing basis according to our policy for each class of loans and leases. Each quarter, management analyzes the resulting ratings, as well as other external statistics and factors such as delinquency, to track the migration performance of the commercial loan and lease portfolio. Loans and leases within the Pass credit category or that migrate toward the Pass credit category generally have a lower risk of loss compared to loans and leases that migrate toward the Substandard or Doubtful credit categories. Accordingly, management applies higher risk factors to Substandard and Doubtful credit categories. The following tables present a summary of our commercial loans and leases by credit quality category, segregated by loans and leases originated and loans acquired: Commercial Loan and Lease Credit Quality Categories (in thousands) Pass Special Mention Substandard Doubtful Total Originated Loans and Leases June 30, 2018 Commercial real estate $ 5,499,238 $ 131,806 $ 123,297 $ 26 $ 5,754,367 Commercial and industrial 3,537,536 176,599 79,246 4,392 3,797,773 Commercial leases 326,574 2,274 8,549 — 337,397 Other 42,037 110 1,204 — 43,351 Total originated commercial loans and leases $ 9,405,385 $ 310,789 $ 212,296 $ 4,418 $ 9,932,888 December 31, 2017 Commercial real estate $ 4,922,872 $ 152,744 $ 98,728 $ 439 $ 5,174,783 Commercial and industrial 3,266,966 132,975 92,091 3,215 3,495,247 Commercial leases 260,235 4,425 2,060 — 266,720 Other 15,866 43 1,154 — 17,063 Total originated commercial loans and leases $ 8,465,939 $ 290,187 $ 194,033 $ 3,654 $ 8,953,813 Acquired Loans June 30, 2018 Commercial real estate $ 2,661,433 $ 200,723 $ 217,626 $ 173 $ 3,079,955 Commercial and industrial 434,731 26,981 41,902 — 503,614 Total acquired commercial loans $ 3,096,164 $ 227,704 $ 259,528 $ 173 $ 3,583,569 December 31, 2017 Commercial real estate $ 3,102,788 $ 250,987 $ 213,089 $ 217 $ 3,567,081 Commercial and industrial 603,611 26,059 45,661 89 675,420 Total acquired commercial loans $ 3,706,399 $ 277,046 $ 258,750 $ 306 $ 4,242,501 Credit quality information for acquired loans is based on the contractual balance outstanding at June 30, 2018 and December 31, 2017 . We use delinquency transition matrices within the consumer and other loan classes to enable management to estimate a quantitative portion of credit risk. Each month, management analyzes payment and volume activity, Fair Isaac Corporation (FICO) scores and other external factors such as unemployment, to determine how consumer loans are performing. Following is a table showing consumer loans by payment status: Consumer Loan Credit Quality by Payment Status (in thousands) Performing Non- Performing Total Originated loans June 30, 2018 Direct installment $ 1,756,297 $ 15,793 $ 1,772,090 Residential mortgages 2,279,790 17,768 2,297,558 Indirect installment 1,744,007 2,345 1,746,352 Consumer lines of credit 1,131,322 4,971 1,136,293 Total originated consumer loans $ 6,911,416 $ 40,877 $ 6,952,293 December 31, 2017 Direct installment $ 1,739,060 $ 16,653 $ 1,755,713 Residential mortgages 2,019,816 16,410 2,036,226 Indirect installment 1,445,833 2,435 1,448,268 Consumer lines of credit 1,147,576 3,894 1,151,470 Total originated consumer loans $ 6,352,285 $ 39,392 $ 6,391,677 Acquired loans June 30, 2018 Direct installment $ 119,921 $ 69 $ 119,990 Residential mortgages 553,412 — 553,412 Indirect installment 157 — 157 Consumer lines of credit 515,659 1,614 517,273 Total acquired consumer loans $ 1,189,149 $ 1,683 $ 1,190,832 December 31, 2017 Direct installment $ 149,751 $ 71 $ 149,822 Residential mortgages 666,465 — 666,465 Indirect installment 165 — 165 Consumer lines of credit 592,384 1,939 594,323 Total acquired consumer loans $ 1,408,765 $ 2,010 $ 1,410,775 Loans and leases are designated as impaired when, in the opinion of management, based on current information and events, the collection of principal and interest in accordance with the loan and lease contract is doubtful. Typically, we do not consider loans and leases for impairment unless a sustained period of delinquency (i.e., 90 -plus days) is noted or there are subsequent events that impact repayment probability (i.e., negative financial trends, bankruptcy filings, imminent foreclosure proceedings, etc.). Impairment is evaluated in the aggregate for consumer installment loans, residential mortgages, consumer lines of credit and commercial loan and lease relationships less than $0.5 million based on loan and lease segment loss given default. For commercial loan and lease relationships greater than or equal to $0.5 million , a specific valuation allowance is allocated, if necessary, so that the loan is reported net, at the present value of estimated future cash flows using a market interest rate or at the fair value of collateral if repayment is expected solely from the collateral. Consistent with our existing method of income recognition for loans and leases, interest income on impaired loans, except those classified as non-accrual, is recognized using the accrual method. Impaired loans, or portions thereof, are charged off when deemed uncollectible. Following is a summary of information pertaining to originated loans and leases considered to be impaired, by class of loan and lease: (in thousands) Unpaid Contractual Principal Balance Recorded Investment With No Specific Reserve Recorded Investment With Specific Reserve Total Recorded Investment Specific Reserve Average Recorded Investment At or for the Six Months Ended June 30, 2018 Commercial real estate $ 16,428 $ 14,308 $ 201 $ 14,509 $ 26 $ 20,912 Commercial and industrial 28,738 13,020 10,787 23,807 4,392 23,688 Commercial leases 1,218 1,218 — 1,218 — 1,309 Other — — — — — — Total commercial loans and leases 46,384 28,546 10,988 39,534 4,418 45,909 Direct installment 18,603 15,793 — 15,793 — 15,693 Residential mortgages 19,180 17,768 — 17,768 — 16,973 Indirect installment 4,579 2,345 — 2,345 — 2,387 Consumer lines of credit 6,735 4,971 — 4,971 — 4,741 Total consumer loans 49,097 40,877 — 40,877 — 39,794 Total $ 95,481 $ 69,423 $ 10,988 $ 80,411 $ 4,418 $ 85,703 At or for the Year Ended Commercial real estate $ 27,718 $ 21,748 $ 2,906 $ 24,654 $ 439 $ 24,413 Commercial and industrial 29,307 11,595 4,457 16,052 3,215 23,907 Commercial leases 1,574 1,574 — 1,574 — 1,386 Other — — — — — — Total commercial loans and leases 58,599 34,917 7,363 42,280 3,654 49,706 Direct installment 19,375 16,653 — 16,653 — 16,852 Residential mortgages 17,754 16,410 — 16,410 — 15,984 Indirect installment 5,709 2,435 — 2,435 — 2,279 Consumer lines of credit 5,039 3,894 — 3,894 — 3,815 Total consumer loans 47,877 39,392 — 39,392 — 38,930 Total $ 106,476 $ 74,309 $ 7,363 $ 81,672 $ 3,654 $ 88,636 Interest income continued to accrue on certain impaired loans and totaled approximately $3.1 million and $2.6 million for the six months ended June 30, 2018 and 2017 , respectively. The above tables do not reflect the additional allowance for credit losses relating to acquired loans. Following is a summary of the allowance for credit losses required for acquired loans due to changes in credit quality subsequent to the acquisition date: (in thousands) June 30, December 31, Commercial real estate $ 2,892 $ 4,976 Commercial and industrial 78 (415 ) Total commercial loans 2,970 4,561 Direct installment 562 1,553 Residential mortgages 191 484 Indirect installment 250 177 Consumer lines of credit (14 ) (77 ) Total consumer loans 989 2,137 Total allowance on acquired loans $ 3,959 $ 6,698 Troubled Debt Restructurings TDRs are loans whose contractual terms have been modified in a manner that grants a concession to a borrower experiencing financial difficulties. TDRs typically result from loss mitigation activities and could include the extension of a maturity date, interest rate reduction, principal forgiveness, deferral or decrease in payments for a period of time and other actions intended to minimize the economic loss and to avoid foreclosure or repossession of collateral. Following is a summary of the composition of total TDRs: (in thousands) Originated Acquired Total June 30, 2018 Accruing: Performing $ 19,352 $ 168 $ 19,520 Non-performing 21,689 3,131 24,820 Non-accrual 9,323 51 9,374 Total TDRs $ 50,364 $ 3,350 $ 53,714 December 31, 2017 Accruing: Performing $ 19,538 $ 266 $ 19,804 Non-performing 20,173 3,308 23,481 Non-accrual 10,472 234 10,706 Total TDRs $ 50,183 $ 3,808 $ 53,991 TDRs that are accruing and performing include loans that met the criteria for non-accrual of interest prior to restructuring for which we can reasonably estimate the timing and amount of the expected cash flows on such loans and for which we expect to fully collect the new carrying value of the loans. During the six months ended June 30, 2018 , we returned to performing status $2.2 million in restructured residential mortgage loans that have consistently met their modified obligations for more than six months. TDRs that are accruing and non-performing are comprised of consumer loans that have not demonstrated a consistent repayment pattern on the modified terms for more than six months, however it is expected that we will collect all future principal and interest payments. TDRs that are on non-accrual are not placed on accruing status until all delinquent principal and interest have been paid and the ultimate collectability of the remaining principal and interest is reasonably assured. Some loan modifications classified as TDRs may not ultimately result in the full collection of principal and interest, as modified, and may result in potential incremental losses which are factored into the allowance for credit losses. Excluding purchased impaired loans, commercial loans over $0.5 million whose terms have been modified in a TDR are generally placed on non-accrual, individually analyzed and measured for estimated impairment based on the fair value of the underlying collateral. Our allowance for credit losses included specific reserves for commercial TDRs and pooled reserves for individually impaired loans under $0.5 million based on loan segment loss given default. Upon default, the amount of the recorded investment in the TDR in excess of the fair value of the collateral, less estimated selling costs, is generally considered a confirmed loss and is charged-off against the allowance for credit losses. The reserve for commercial TDRs included in the allowance for credit losses is presented in the following table: (in thousands) June 30, December 31, Specific reserves for commercial TDRs $ 14 $ 95 Pooled reserves for individual commercial loans 529 469 All other classes of loans, which are primarily secured by residential properties, whose terms have been modified in a TDR are pooled and measured for estimated impairment based on the expected net present value of the estimated future cash flows of the pool. Our allowance for credit losses included pooled reserves for these classes of loans of $4.2 million for June 30, 2018 and $4.0 million for December 31, 2017 . Upon default of an individual loan, our charge-off policy is followed accordingly for that class of loan. Following is a summary of TDR loans, by class: Three Months Ended June 30, 2018 Six Months Ended June 30, 2018 (dollars in thousands) Number of 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 real estate 1 $ 125 $ 122 1 $ 125 $ 122 Commercial and industrial 13 862 780 13 2,524 1,384 Total commercial loans 14 987 902 14 2,649 1,506 Direct installment 178 2,372 2,276 357 3,404 3,209 Residential mortgages 8 304 298 19 807 799 Indirect installment 7 11 11 16 24 23 Consumer lines of credit 22 382 298 41 709 513 Total consumer loans 215 3,069 2,883 433 4,944 4,544 Total 229 $ 4,056 $ 3,785 447 $ 7,593 $ 6,050 Three Months Ended June 30, 2017 Six Months Ended June 30, 2017 (dollars in thousands) Number of 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 real estate 1 $ 463 $ 463 2 $ 595 $ 566 Commercial and industrial 2 4,038 4,204 2 3,542 4,204 Total commercial loans 3 4,501 4,667 4 4,137 4,770 Direct installment 162 1,448 1,301 333 2,951 2,688 Residential mortgages 9 405 345 16 570 497 Indirect installment 4 15 14 9 31 27 Consumer lines of credit 21 311 208 43 1,054 905 Total consumer loans 196 2,179 1,868 401 4,606 4,117 Total 199 $ 6,680 $ 6,535 405 $ 8,743 $ 8,887 Following is a summary of originated TDRs, by class, for which there was a payment default, excluding loans that were either charged-off or cured by period end. Default occurs when a loan is 90 days or more past due and is within 12 months of restructuring. Three Months Ended Six Months Ended (dollars in thousands) Number of Contracts Recorded Investment Number of Contracts Recorded Investment Direct installment 41 $ 202 78 $ 304 Residential mortgages 3 146 6 293 Indirect installment 5 10 9 15 Consumer lines of credit 2 56 3 252 Total consumer loans 51 414 96 864 Total 51 $ 414 96 $ 864 Three Months Ended Six Months Ended (dollars in thousands) Number of Contracts Recorded Investment Number of Contracts Recorded Investment Commercial and industrial 2 $ 312 3 $ 326 Total commercial loans 2 312 3 326 Direct installment 31 134 55 146 Residential mortgages 1 80 4 264 Indirect installment 6 19 10 19 Consumer lines of credit 1 63 1 63 Total consumer loans 39 296 70 492 Total 41 $ 608 73 $ 818 |