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, 2017 Commercial real estate $ 4,610,404 $ 4,212,525 $ 8,822,929 Commercial and industrial 3,035,005 875,922 3,910,927 Commercial leases 226,483 — 226,483 Total commercial loans and leases 7,871,892 5,088,447 12,960,339 Direct installment 1,764,096 185,883 1,949,979 Residential mortgages 1,683,383 746,460 2,429,843 Indirect installment 1,374,370 154 1,374,524 Consumer lines of credit 1,120,050 668,484 1,788,534 Other 30,079 — 30,079 Total loans and leases, net of unearned income $ 13,843,870 $ 6,689,428 $ 20,533,298 December 31, 2016 Commercial real estate $ 4,095,817 $ 1,339,345 $ 5,435,162 Commercial and industrial 2,711,886 330,895 3,042,781 Commercial leases 196,636 — 196,636 Total commercial loans and leases 7,004,339 1,670,240 8,674,579 Direct installment 1,765,257 79,142 1,844,399 Residential mortgages 1,446,776 397,798 1,844,574 Indirect installment 1,196,110 203 1,196,313 Consumer lines of credit 1,099,627 201,573 1,301,200 Other 35,878 — 35,878 Total loans and leases, net of unearned income $ 12,547,987 $ 2,348,956 $ 14,896,943 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; • 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; • Consumer lines of credit include home equity lines of credit (HELOC) and consumer lines of credit that are either unsecured or secured by collateral other than home equity; and • Other is comprised primarily of credit cards, mezzanine loans and student loans. 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 loans and leases portfolio also contains Regency consumer finance loans to individuals in Pennsylvania, Ohio, Tennessee and Kentucky. Due to the relative size of the Regency consumer finance loan portfolio, these loans are not segregated from other consumer loans. The following table shows certain information relating to the Regency consumer finance loans: (dollars in thousands) June 30, December 31, Regency consumer finance loans $ 175,605 $ 184,687 Percent of total loans and leases 0.9 % 1.2 % The following table shows certain information relating to commercial real estate loans: (dollars in thousands) June 30, December 31, Commercial construction loans $ 971,412 $ 459,995 Percent of total loans and leases 4.7 % 3.1 % Commercial real estate: Percent owner-occupied 36.4 % 36.2 % Percent non-owner-occupied 63.6 % 63.8 % 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 2016 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 $ 6,043,780 $ 2,346,687 Carrying amount 5,659,646 2,015,904 Accounted for under ASC 310-20: Outstanding balance 1,051,656 342,015 Carrying amount 1,023,175 325,784 Total acquired loans: Outstanding balance 7,095,436 2,688,702 Carrying amount 6,682,821 2,341,688 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 $20.8 million at June 30, 2017 and $7.1 million at December 31, 2016 , representing 0.3% 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) 2017 2016 Balance at beginning of period $ 467,070 $ 256,120 Acquisitions 444,715 308,311 Reduction due to unexpected early payoffs (61,093 ) (35,879 ) Reclass from non-accretable difference 40,304 14,508 Disposals/transfers (324 ) (208 ) Accretion (100,628 ) (49,646 ) Balance at end of period $ 790,044 $ 493,206 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, 2017 , there was an overall improvement in cash flow expectations which resulted in a net reclassification of $40.3 million from the non-accretable difference to accretable yield. This reclassification was $14.5 million for the six months ended June 30, 2016 . The reclassification from the non-accretable difference to the accretable yield results in prospective yield adjustments on the loan pools. The following table reflects amounts at acquisition for all purchased loans subject to ASC 310-30 (impaired and non-impaired loans with deteriorated credit quality) acquired from YDKN in 2017 based on the preliminary estimate of fair value as described in Note 3. (in thousands) Acquired Impaired Loans Acquired Performing Loans Total Contractually required cash flows at acquisition $ 46,053 $ 5,085,712 $ 5,131,765 Non-accretable difference (expected losses and foregone interest) (23,924 ) (406,173 ) (430,097 ) Cash flows expected to be collected at acquisition 22,129 4,679,539 4,701,668 Accretable yield (3,266 ) (441,449 ) (444,715 ) Fair value of acquired loans at acquisition $ 18,863 $ 4,238,090 $ 4,256,953 In addition, loans purchased in the YDKN acquisition that were not subject to ASC 310-30 had the following balances at the date of acquisition: fair value of $778.4 million ; unpaid principal balance of $791.3 million ; and contractual cash flows not expected to be collected of $122.9 million . Credit Quality Management monitors the credit quality of our loan and lease 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 troubled debt restructurings (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 principal and interest is deemed uncollectible, unless the loan is both well secured and in the process of collection. Commercial loans 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 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. 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 $ 95,303 $ 65,479 Troubled debt restructurings 19,487 20,428 Total non-performing loans 114,790 85,907 Other real estate owned (OREO) 45,712 32,490 Total non-performing assets $ 160,502 $ 118,397 Asset quality ratios: Non-performing loans / total loans and leases 0.56 % 0.58 % Non-performing loans + OREO / total loans and leases + OREO 0.78 % 0.79 % Non-performing assets / of total assets 0.52 % 0.54 % The carrying value of residential OREO held as a result of obtaining physical possession upon completion of a foreclosure or through completion of a deed in lieu of foreclosure totaled $4.9 million at June 30, 2017 and $5.3 million at December 31, 2016 . The recorded investment of consumer mortgage loans secured by residential real estate properties for which formal foreclosure proceedings are in process at June 30, 2017 and December 31, 2016 totaled $11.2 million and $12.0 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 Current Total Loans and Leases Originated Loans and Leases June 30, 2017 Commercial real estate $ 4,171 $ 1 $ 24,624 $ 28,796 $ 4,581,608 $ 4,610,404 Commercial and industrial 5,248 3 40,210 45,461 2,989,544 3,035,005 Commercial leases 1,302 — 1,507 2,809 223,674 226,483 Total commercial loans and leases 10,721 4 66,341 77,066 7,794,826 7,871,892 Direct installment 10,052 4,154 8,285 22,491 1,741,605 1,764,096 Residential mortgages 12,698 2,360 5,119 20,177 1,663,206 1,683,383 Indirect installment 7,174 465 1,744 9,383 1,364,987 1,374,370 Consumer lines of credit 2,527 1,183 2,162 5,872 1,114,178 1,120,050 Other 512 282 1,000 1,794 28,285 30,079 Total originated loans and leases $ 43,684 $ 8,448 $ 84,651 $ 136,783 $ 13,707,087 $ 13,843,870 December 31, 2016 Commercial real estate $ 8,452 $ 1 $ 20,114 $ 28,567 $ 4,067,250 $ 4,095,817 Commercial and industrial 16,019 3 24,141 40,163 2,671,723 2,711,886 Commercial leases 973 1 3,429 4,403 192,233 196,636 Total commercial loans and leases 25,444 5 47,684 73,133 6,931,206 7,004,339 Direct installment 10,573 4,386 6,484 21,443 1,743,814 1,765,257 Residential mortgages 10,594 3,014 3,316 16,924 1,429,852 1,446,776 Indirect installment 9,312 513 1,983 11,808 1,184,302 1,196,110 Consumer lines of credit 3,529 1,112 1,616 6,257 1,093,370 1,099,627 Other 398 83 1,000 1,481 34,397 35,878 Total originated loans and leases $ 59,850 $ 9,113 $ 62,083 $ 131,046 $ 12,416,941 $ 12,547,987 (in thousands) 30-89 Days Past Due > 90 Days Past Due and Still Accruing Non- Accrual Total Past Due (1) (2) Current Discount Total Loans Acquired Loans June 30, 2017 Commercial real estate $ 52,011 $ 37,196 $ 3,478 $ 92,685 $ 4,326,243 $ (206,403 ) $ 4,212,525 Commercial and industrial 5,552 6,222 6,676 18,450 913,794 (56,322 ) 875,922 Total commercial loans 57,563 43,418 10,154 111,135 5,240,037 (262,725 ) 5,088,447 Direct installment 2,086 1,888 — 3,974 180,278 1,631 185,883 Residential mortgages 18,141 12,384 — 30,525 758,511 (42,576 ) 746,460 Indirect installment — 1 — 1 37 116 154 Consumer lines of credit 9,153 3,731 498 13,382 669,981 (14,879 ) 668,484 Total acquired loans $ 86,943 $ 61,422 $ 10,652 $ 159,017 $ 6,848,844 $ (318,433 ) $ 6,689,428 December 31, 2016 Commercial real estate $ 9,501 $ 23,890 $ 949 $ 34,340 $ 1,384,752 $ (79,747 ) $ 1,339,345 Commercial and industrial 1,789 2,942 2,111 6,842 353,494 (29,441 ) 330,895 Total commercial loans 11,290 26,832 3,060 41,182 1,738,246 (109,188 ) 1,670,240 Direct installment 2,317 1,344 — 3,661 73,479 2,002 79,142 Residential mortgages 8,428 10,816 — 19,244 416,561 (38,007 ) 397,798 Indirect installment 19 4 — 23 96 84 203 Consumer lines of credit 2,156 1,528 336 4,020 201,958 (4,405 ) 201,573 Total acquired loans $ 24,210 $ 40,524 $ 3,396 $ 68,130 $ 2,430,340 $ (149,514 ) $ 2,348,956 (1) Past due information for acquired loans is based on the contractual balance outstanding at June 30, 2017 and December 31, 2016 . (2) Acquired loans are considered performing upon acquisition, regardless of whether the customer is contractually delinquent, as long as 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. We utilize the following categories to monitor credit quality within our commercial loan and lease portfolio: Rating Category Definition Pass in general, the condition and performance of the borrower 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 and performance of the borrower has significantly deteriorated and 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, 2017 Commercial real estate $ 4,418,459 $ 122,831 $ 68,911 $ 203 $ 4,610,404 Commercial and industrial 2,784,838 141,611 98,660 9,896 3,035,005 Commercial leases 221,434 3,611 1,438 — 226,483 Total originated commercial loans and leases $ 7,424,731 $ 268,053 $ 169,009 $ 10,099 $ 7,871,892 December 31, 2016 Commercial real estate $ 3,895,764 $ 130,452 $ 69,588 $ 13 $ 4,095,817 Commercial and industrial 2,475,955 104,652 128,089 3,190 2,711,886 Commercial leases 188,662 3,789 4,185 — 196,636 Total originated commercial loans and leases $ 6,560,381 $ 238,893 $ 201,862 $ 3,203 $ 7,004,339 Acquired Loans June 30, 2017 Commercial real estate $ 3,589,248 $ 376,733 $ 246,299 $ 245 $ 4,212,525 Commercial and industrial 757,054 58,486 60,291 91 875,922 Total acquired commercial loans $ 4,346,302 $ 435,219 $ 306,590 $ 336 $ 5,088,447 December 31, 2016 Commercial real estate $ 1,144,676 $ 85,894 $ 108,128 $ 647 $ 1,339,345 Commercial and industrial 274,819 20,593 34,967 516 330,895 Total acquired commercial loans $ 1,419,495 $ 106,487 $ 143,095 $ 1,163 $ 1,670,240 Credit quality information for acquired loans is based on the contractual balance outstanding at June 30, 2017 and December 31, 2016 . 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, 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, 2017 Direct installment $ 1,747,660 $ 16,436 $ 1,764,096 Residential mortgages 1,669,019 14,364 1,683,383 Indirect installment 1,372,414 1,956 1,374,370 Consumer lines of credit 1,116,714 3,336 1,120,050 Total originated consumer loans $ 5,905,807 $ 36,092 $ 5,941,899 December 31, 2016 Direct installment $ 1,750,305 $ 14,952 $ 1,765,257 Residential mortgages 1,433,409 13,367 1,446,776 Indirect installment 1,193,930 2,180 1,196,110 Consumer lines of credit 1,096,642 2,985 1,099,627 Total originated consumer loans $ 5,474,286 $ 33,484 $ 5,507,770 Acquired loans June 30, 2017 Direct installment $ 185,883 $ — $ 185,883 Residential mortgages 746,460 — 746,460 Indirect installment 154 — 154 Consumer lines of credit 667,290 1,194 668,484 Total acquired consumer loans $ 1,599,787 $ 1,194 $ 1,600,981 December 31, 2016 Direct installment $ 79,142 $ — $ 79,142 Residential mortgages 397,798 — 397,798 Indirect installment 203 — 203 Consumer lines of credit 201,061 512 201,573 Total acquired consumer loans $ 678,204 $ 512 $ 678,716 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 $500,000 based on loan and lease segment loss given default. For commercial loan relationships greater than or equal to $500,000 , 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 for those loans 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, 2017 Commercial real estate $ 28,900 $ 22,685 $ 1,834 $ 24,519 $ 203 $ 23,845 Commercial and industrial 46,200 13,038 26,631 39,669 9,909 37,011 Commercial leases 1,507 1,507 — 1,507 — 1,762 Total commercial loans and leases 76,607 37,230 28,465 65,695 10,112 62,618 Direct installment 18,651 16,436 — 16,436 — 16,273 Residential mortgages 15,515 14,364 — 14,364 — 14,357 Indirect installment 4,622 1,956 — 1,956 — 1,821 Consumer lines of credit 4,247 3,336 — 3,336 — 3,125 Other 1,000 1,000 — 1,000 — 1,000 Total $ 120,642 $ 74,322 $ 28,465 $ 102,787 $ 10,112 $ 99,194 At or for the Year Ended Commercial real estate $ 23,771 $ 19,699 $ 464 $ 20,163 $ 13 $ 19,217 Commercial and industrial 25,719 14,781 8,996 23,777 3,190 29,730 Commercial leases 3,429 3,429 — 3,429 — 3,394 Total commercial loans and leases 52,919 37,909 9,460 47,369 3,203 52,341 Direct installment 16,440 14,952 — 14,952 — 14,997 Residential mortgages 14,090 13,367 — 13,367 — 13,200 Indirect installment 5,172 2,180 — 2,180 — 2,037 Consumer lines of credit 3,858 2,985 — 2,985 — 2,813 Other 1,000 1,000 — 1,000 — 1,000 Total $ 93,479 $ 72,393 $ 9,460 $ 81,853 $ 3,203 $ 86,388 Interest income continued to accrue on certain impaired loans and totaled approximately $2.6 million and $2.2 million for the six months ended June 30, 2017 and 2016 , 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 $ 3,626 $ 4,538 Commercial and industrial 108 500 Total commercial loans 3,734 5,038 Direct installment 1,037 1,005 Residential mortgages 753 632 Indirect installment 221 221 Consumer lines of credit 862 372 Total allowance on acquired loans $ 6,607 $ 7,268 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 payment status of TDRs: (in thousands) Originated Acquired Total June 30, 2017 Accruing: Performing $ 18,113 $ 271 $ 18,384 Non-performing 18,791 696 19,487 Non-accrual 13,894 — 13,894 Total TDRs $ 50,798 $ 967 $ 51,765 December 31, 2016 Accruing: Performing $ 17,105 $ 365 $ 17,470 Non-performing 20,252 176 20,428 Non-accrual 9,035 — 9,035 Total TDRs $ 46,392 $ 541 $ 46,933 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, 2017 , we returned to performing status $3.5 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 $500,000 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 individual loans under $500,000 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 $ 275 $ 291 Pooled reserves for individual loans under $500 257 276 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 $3.7 million at both June 30, 2017 and December 31, 2016 . Upon default of an individual loan, our charge-off policy is followed accordingly for that class of loan. The majority of TDRs are the result of interest rate concessions for a limited period of time. Following is a summary of loans, by class, that have been restructured: 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 199 $ 6,680 $ 6,535 405 $ 8,743 $ 8,887 Three Months Ended June 30, 2016 Six Months Ended June 30, 2016 (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 — $ — $ — 4 $ 778 $ 749 Commercial and industrial — — — — — — Total commercial loans — — — 4 778 749 Direct installment 120 1,960 1,832 265 3,984 3,772 Residential mortgages 8 385 390 27 1,420 1,402 Indirect installment 2 6 6 5 17 17 Consumer lines of credit 17 302 298 36 481 473 Total 147 $ 2,653 $ 2,526 337 $ 6,680 $ 6,413 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 Commercial real estate — $ — — $ — 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 41 $ 608 73 $ 818 Three Months Ended June 30, 2016 Six Months Ended June 30, 2016 (dollars in thousands) Number of Contracts Recorded Investment Number of Contracts Recorded Investment Commercial real estate — $ — — $ — Commercial and industrial — — — — Total commercial loans — — — — Direct installment 32 135 57 246 Residential mortgages 3 142 4 193 Indirect installment 2 8 6 8 Consumer lines of credit 1 55 2 65 Total 38 $ 340 69 $ 512 |