XML 24 R12.htm IDEA: XBRL DOCUMENT
v3.7.0.1

LOANS AND ALLOWANCE FOR LOAN LOSSES | 6 Months Ended
--- | ---
Jun. 30, 2017
Loans and Leases Receivable Disclosure [Abstract] |
LOANS AND ALLOWANCE FOR LOAN LOSSES | LOANS AND ALLOWANCE FOR LOAN LOSSES The composition of the loan portfolio, net of deferred origination fees and costs, is summarized as follows (in thousands):
|  | June 30, 2017 |  | December 31, 2016
Commercial and agricultural: |  |  |  |
Commercial and industrial |  | $ | 188,930 |  |  | $ | 176,201 |
Agricultural |  | 531 |  |  | 360 |
Commercial mortgages: |  |  |  |  |  |
Construction |  | 57,549 |  |  | 46,387 |
Commercial mortgages, other |  | 547,165 |  |  | 522,269 |
Residential mortgages |  | 200,629 |  |  | 198,493 |
Consumer loans: |  |  |  |  |  |
Credit cards |  | 1,403 |  |  | 1,476 |
Home equity lines and loans |  | 97,273 |  |  | 98,590 |
Indirect consumer loans |  | 142,791 |  |  | 139,572 |
Direct consumer loans |  | 16,376 |  |  | 16,942 |
Total loans, net of deferred origination fees and costs |  | $ | 1,252,647 |  |  | $ | 1,200,290 |
Interest receivable on loans |  | 3,149 |  |  | 3,192 |
Total recorded investment in loans |  | $ | 1,255,796 |  |  | $ | 1,203,482 |
The Corporation's concentrations of credit risk by loan type are reflected in the preceding table. The concentrations of credit risk with standby letters of credit, committed lines of credit and commitments to originate new loans generally follow the loan classifications in the table above. The following tables present the activity in the allowance for loan losses by portfolio segment for the three and six-month periods ended June 30, 2017 and 2016 (in thousands):
| Three Months Ended June 30, 2017
Allowance for loan losses | Commercial and Agricultural |  | Commercial Mortgages |  | Residential Mortgages |  | Consumer Loans |  | Total
Beginning balance | $ | 1,650 |  |  | $ | 7,749 |  |  | $ | 1,512 |  |  | $ | 4,049 |  |  | $ | 14,960 |
Charge-offs | (2 | ) |  | — |  |  | (48 | ) |  | (397 | ) |  | (447 | )
Recoveries | 36 |  |  | 2 |  |  | 13 |  |  | 119 |  |  | 170 |
Net recoveries (charge-offs) | 34 |  |  | 2 |  |  | (35 | ) |  | (278 | ) |  | (277 | )
Provision | 199 |  |  | 27 |  |  | 40 |  |  | 155 |  |  | 421 |
Ending balance | $ | 1,883 |  |  | $ | 7,778 |  |  | $ | 1,517 |  |  | $ | 3,926 |  |  | $ | 15,104 |
| Three Months Ended June 30, 2016
Allowance for loan losses | Commercial and Agricultural |  | Commercial Mortgages |  | Residential Mortgages |  | Consumer Loans |  | Total
Beginning balance | $ | 1,795 |  |  | $ | 7,532 |  |  | $ | 1,482 |  |  | $ | 3,718 |  |  | $ | 14,527 |
Charge-offs | (9 | ) |  | — |  |  | (58 | ) |  | (272 | ) |  | (339 | )
Recoveries | 18 |  |  | 2 |  |  | — |  |  | 72 |  |  | 92 |
Net recoveries (charge-offs) | 9 |  |  | 2 |  |  | (58 | ) |  | (200 | ) |  | (247 | )
Provision | (33 | ) |  | 220 |  |  | 80 |  |  | 121 |  |  | 388 |
Ending balance | $ | 1,771 |  |  | $ | 7,754 |  |  | $ | 1,504 |  |  | $ | 3,639 |  |  | $ | 14,668 |
| Six Months Ended June 30, 2017
Allowance for loan losses | Commercial and Agricultural |  | Commercial Mortgages |  | Residential Mortgages |  | Consumer Loans |  | Total
Beginning balance: | $ | 1,589 |  |  | $ | 7,270 |  |  | $ | 1,523 |  |  | $ | 3,871 |  |  | $ | 14,253 |
Charge-offs: | (7 | ) |  | — |  |  | (60 | ) |  | (825 | ) |  | (892 | )
Recoveries: | 61 |  |  | 3 |  |  | 30 |  |  | 188 |  |  | 282 |
Net recoveries (charge-offs) | 54 |  |  | 3 |  |  | (30 | ) |  | (637 | ) |  | (610 | )
Provision | 240 |  |  | 505 |  |  | 24 |  |  | 692 |  |  | 1,461 |
Ending balance | $ | 1,883 |  |  | $ | 7,778 |  |  | $ | 1,517 |  |  | $ | 3,926 |  |  | $ | 15,104 |
| Six Months Ended June 30, 2016
Allowance for loan losses | Commercial and Agricultural |  | Commercial Mortgages |  | Residential Mortgages |  | Consumer Loans |  | Total
Beginning balance: | $ | 1,831 |  |  | $ | 7,112 |  |  | $ | 1,464 |  |  | $ | 3,853 |  |  | $ | 14,260 |
Charge-offs: | (17 | ) |  | — |  |  | (58 | ) |  | (715 | ) |  | (790 | )
Recoveries: | 50 |  |  | 9 |  |  | — |  |  | 156 |  |  | 215 |
Net recoveries (charge-offs) | 33 |  |  | 9 |  |  | (58 | ) |  | (559 | ) |  | (575 | )
Provision | (93 | ) |  | 633 |  |  | 98 |  |  | 345 |  |  | 983 |
Ending balance | $ | 1,771 |  |  | $ | 7,754 |  |  | $ | 1,504 |  |  | $ | 3,639 |  |  | $ | 14,668 |
The following tables present the balance in the allowance for loan losses and the recorded investment in loans by portfolio segment and based on impairment method as of June 30, 2017 and December 31, 2016 (in thousands):
| June 30, 2017
Allowance for loan losses: | Commercial and Agricultural |  | Commercial Mortgages |  | Residential Mortgages |  | Consumer Loans |  | Total
Ending allowance balance attributable to loans: |  |  |  |  |  |  |  |  |
Individually evaluated for impairment | $ | 84 |  |  | $ | 886 |  |  | $ | — |  |  | $ | — |  |  | $ | 970 |
Collectively evaluated for impairment | 1,799 |  |  | 6,862 |  |  | 1,517 |  |  | 3,926 |  |  | 14,104 |
Loans acquired with deteriorated credit quality | — |  |  | 30 |  |  | — |  |  | — |  |  | 30 |
Total ending allowance balance | $ | 1,883 |  |  | $ | 7,778 |  |  | $ | 1,517 |  |  | $ | 3,926 |  |  | $ | 15,104 |
| December 31, 2016
Allowance for loan losses: | Commercial and Agricultural |  | Commercial Mortgages |  | Residential Mortgages |  | Consumer Loans |  | Total
Ending allowance balance attributable to loans: |  |  |  |  |  |  |  |  |
Individually evaluated for impairment | $ | — |  |  | $ | 735 |  |  | $ | — |  |  | $ | 141 |  |  | $ | 876 |
Collectively evaluated for impairment | 1,589 |  |  | 6,476 |  |  | 1,498 |  |  | 3,730 |  |  | 13,293 |
Loans acquired with deteriorated credit quality | — |  |  | 59 |  |  | 25 |  |  | — |  |  | 84 |
Total ending allowance balance | $ | 1,589 |  |  | $ | 7,270 |  |  | $ | 1,523 |  |  | $ | 3,871 |  |  | $ | 14,253 |
| June 30, 2017
Loans: | Commercial and Agricultural |  | Commercial Mortgages |  | Residential Mortgages |  | Consumer Loans |  | Total
Loans individually evaluated for impairment | $ | 772 |  |  | $ | 11,823 |  |  | $ | 443 |  |  | $ | 70 |  |  | $ | 13,108 |
Loans collectively evaluated for impairment | 189,167 |  |  | 593,413 |  |  | 200,674 |  |  | 258,428 |  |  | 1,241,682 |
Loans acquired with deteriorated credit quality | — |  |  | 1,006 |  |  | — |  |  | — |  |  | 1,006 |
Total ending loans balance | $ | 189,939 |  |  | $ | 606,242 |  |  | $ | 201,117 |  |  | $ | 258,498 |  |  | $ | 1,255,796 |
| December 31, 2016
Loans: | Commercial and Agricultural |  | Commercial Mortgages |  | Residential Mortgages |  | Consumer Loans |  | Total
Loans individually evaluated for impairment | $ | 693 |  |  | $ | 10,382 |  |  | $ | 396 |  |  | $ | 455 |  |  | $ | 11,926 |
Loans collectively evaluated for impairment | 176,334 |  |  | 558,451 |  |  | 198,474 |  |  | 256,879 |  |  | 1,190,138 |
Loans acquired with deteriorated credit quality | — |  |  | 1,323 |  |  | 95 |  |  | — |  |  | 1,418 |
Total ending loans balance | $ | 177,027 |  |  | $ | 570,156 |  |  | $ | 198,965 |  |  | $ | 257,334 |  |  | $ | 1,203,482 |
The following table presents loans individually evaluated for impairment recognized by class of loans as of June 30, 2017 and December 31, 2016 (in thousands):
| June 30, 2017 |  | December 31, 2016
With no related allowance recorded: | Unpaid Principal Balance |  | Recorded Investment |  | Allowance for Loan Losses Allocated |  | Unpaid Principal Balance |  | Recorded Investment |  | Allowance for Loan Losses Allocated
Commercial and agricultural: |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial | $ | 602 |  |  | $ | 604 |  |  | $ | — |  |  | $ | 690 |  |  | $ | 693 |  |  | $ | — |
Commercial mortgages: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Construction | 1,550 |  |  | 1,551 |  |  | — |  |  | 277 |  |  | 278 |  |  | — |
Commercial mortgages, other | 5,641 |  |  | 5,615 |  |  | — |  |  | 8,792 |  |  | 7,857 |  |  | — |
Residential mortgages | 466 |  |  | 443 |  |  | — |  |  | 395 |  |  | 396 |  |  | — |
Consumer loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Home equity lines and loans | 69 |  |  | 70 |  |  | — |  |  | 93 |  |  | 95 |  |  | — |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and agricultural: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial | 168 |  |  | 168 |  |  | 84 |  |  | — |  |  | — |  |  | — |
Commercial mortgages: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial mortgages, other | 5,595 |  |  | 4,657 |  |  | 886 |  |  | 2,245 |  |  | 2,247 |  |  | 735 |
Consumer loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Home equity lines and loans | — |  |  | — |  |  | — |  |  | 360 |  |  | 360 |  |  | 141 |
Total | $ | 14,091 |  |  | $ | 13,108 |  |  | $ | 970 |  |  | $ | 12,852 |  |  | $ | 11,926 |  |  | $ | 876 |
The following table presents the average recorded investment and interest income of loans individually evaluated for impairment recognized by class of loans as of the three and six-month periods ended June 30, 2017 and 2016 (in thousands):
|  | Three Months Ended June 30, 2017 |  | Three Months Ended June 30, 2016 |  | Six Months Ended June 30, 2017 |  | Six Months Ended June 30, 2016
With no related allowance recorded: |  | Average Recorded Investment |  | Interest Income Recognized (1) |  | Average Recorded Investment |  | Interest Income Recognized (1) |  | Average Recorded Investment |  | Interest Income Recognized (1) |  | Average Recorded Investment |  | Interest Income Recognized (1)
Commercial and agricultural: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 626 |  |  | $ | 8 |  |  | $ | 1,048 |  |  | $ | 12 |  |  | $ | 649 |  |  | $ | 17 |  |  | $ | 1,195 |  |  | $ | 25 |
Commercial mortgages: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Construction |  | 1,555 |  |  | 3 |  |  | 340 |  |  | 3 |  |  | 1,130 |  |  | 6 |  |  | 343 |  |  | 7 |
Commercial mortgages, other |  | 5,879 |  |  | 32 |  |  | 6,733 |  |  | 59 |  |  | 6,538 |  |  | 90 |  |  | 7,014 |  |  | 121 |
Residential mortgages |  | 417 |  |  | 2 |  |  | 399 |  |  | 1 |  |  | 410 |  |  | 4 |  |  | 344 |  |  | 1 |
Consumer loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Home equity lines & loans |  | 71 |  |  | 1 |  |  | 104 |  |  | 1 |  |  | 79 |  |  | 1 |  |  | 105 |  |  | 3 |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and agricultural: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | 84 |  |  | 1 |  |  | 4 |  |  | — |  |  | 56 |  |  | 1 |  |  | 6 |  |  | — |
Commercial mortgages: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial mortgages, other |  | 4,461 |  |  | 4 |  |  | 4,942 |  |  | 1 |  |  | 3,723 |  |  | 7 |  |  | 4,910 |  |  | 3 |
Consumer loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Home equity lines and loans |  | 180 |  |  | — |  |  | 362 |  |  | — |  |  | 240 |  |  | — |  |  | 363 |  |  | — |
Total |  | $ | 13,273 |  |  | $ | 51 |  |  | $ | 13,932 |  |  | $ | 77 |  |  | $ | 12,825 |  |  | $ | 126 |  |  | $ | 14,280 |  |  | $ | 160 |
(1)Cash basis interest income approximates interest income recognized. The following tables present the recorded investment in non-accrual and loans past due 90 days or more and still accruing by class of loans as of June 30, 2017 and December 31, 2016 (in thousands):
|  | Non-accrual |  | Loans Past Due 90 Days or More and Still Accruing
|  | June 30, 2017 |  | December 31, 2016 |  | June 30, 2017 |  | December 31, 2016
Commercial and agricultural: |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | — |  |  | $ | — |  |  | $ | 9 |  |  | $ | 2 |
Commercial mortgages: |  |  |  |  |  |  |  |
Construction |  | 1,307 |  |  | 19 |  |  | — |  |  | — |
Commercial mortgages, other |  | 8,752 |  |  | 5,454 |  |  | — |  |  | — |
Residential mortgages |  | 3,278 |  |  | 4,201 |  |  | — |  |  | — |
Consumer loans: |  |  |  |  |  |  |  |
Credit cards |  | — |  |  | — |  |  | 27 |  |  | 11 |
Home equity lines and loans |  | 1,181 |  |  | 1,670 |  |  | — |  |  | — |
Indirect consumer loans |  | 673 |  |  | 654 |  |  | — |  |  | — |
Direct consumer loans |  | 17 |  |  | 45 |  |  | — |  |  | — |
Total |  | $ | 15,208 |  |  | $ | 12,043 |  |  | $ | 36 |  |  | $ | 13 |
The following tables present the aging of the recorded investment in loans as of June 30, 2017 and December 31, 2016 (in thousands):
| June 30, 2017
| 30 - 59 Days Past Due |  | 60 - 89 Days Past Due |  | 90 Days or More Past Due |  | Total Past Due |  | Loans Acquired with Deteriorated Credit Quality |  | Loans Not Past Due |  | Total
Commercial and agricultural: |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial | $ | 6 |  |  | $ | 16 |  |  | $ | 9 |  |  | $ | 31 |  |  | $ | — |  |  | $ | 189,376 |  |  | $ | 189,407 |
Agricultural | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 532 |  |  | 532 |
Commercial mortgages: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Construction | — |  |  | — |  |  | 1,288 |  |  | 1,288 |  |  | — |  |  | 56,406 |  |  | 57,694 |
Commercial mortgages, other | 493 |  |  | 3,208 |  |  | 2,547 |  |  | 6,248 |  |  | 1,006 |  |  | 541,294 |  |  | 548,548 |
Residential mortgages | 1,373 |  |  | 485 |  |  | 1,766 |  |  | 3,624 |  |  | — |  |  | 197,493 |  |  | 201,117 |
Consumer loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit cards | 6 |  |  | 13 |  |  | 27 |  |  | 46 |  |  | — |  |  | 1,357 |  |  | 1,403 |
Home equity lines and loans | 257 |  |  | 98 |  |  | 760 |  |  | 1,115 |  |  | — |  |  | 96,409 |  |  | 97,524 |
Indirect consumer loans | 1,616 |  |  | 165 |  |  | 384 |  |  | 2,165 |  |  | — |  |  | 140,967 |  |  | 143,132 |
Direct consumer loans | 51 |  |  | 3 |  |  | — |  |  | 54 |  |  | — |  |  | 16,385 |  |  | 16,439 |
Total | $ | 3,802 |  |  | $ | 3,988 |  |  | $ | 6,781 |  |  | $ | 14,571 |  |  | $ | 1,006 |  |  | $ | 1,240,219 |  |  | $ | 1,255,796 |
| December 31, 2016
| 30 - 59 Days Past Due |  | 60 - 89 Days Past Due |  | 90 Days or More Past Due |  | Total Past Due |  | Loans Acquired with Deteriorated Credit Quality |  | Loans Not Past Due |  | Total
Commercial and agricultural: |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial | $ | 160 |  |  | $ | 7 |  |  | $ | 2 |  |  | $ | 169 |  |  | $ | — |  |  | $ | 176,497 |  |  | $ | 176,666 |
Agricultural | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 361 |  |  | 361 |
Commercial mortgages: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Construction | — |  |  | 1,177 |  |  | — |  |  | 1,177 |  |  | — |  |  | 45,333 |  |  | 46,510 |
Commercial mortgages, other | 652 |  |  | 4,460 |  |  | 2,412 |  |  | 7,524 |  |  | 1,323 |  |  | 514,799 |  |  | 523,646 |
Residential mortgages | 2,100 |  |  | 436 |  |  | 2,383 |  |  | 4,919 |  |  | 95 |  |  | 193,951 |  |  | 198,965 |
Consumer loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit cards | 3 |  |  | 9 |  |  | 11 |  |  | 23 |  |  | — |  |  | 1,453 |  |  | 1,476 |
Home equity lines and loans | 227 |  |  | — |  |  | 1,149 |  |  | 1,376 |  |  | — |  |  | 97,477 |  |  | 98,853 |
Indirect consumer loans | 1,773 |  |  | 287 |  |  | 542 |  |  | 2,602 |  |  | — |  |  | 137,391 |  |  | 139,993 |
Direct consumer loans | 54 |  |  | 7 |  |  | 22 |  |  | 83 |  |  | — |  |  | 16,929 |  |  | 17,012 |
Total | $ | 4,969 |  |  | $ | 6,383 |  |  | $ | 6,521 |  |  | $ | 17,873 |  |  | $ | 1,418 |  |  | $ | 1,184,191 |  |  | $ | 1,203,482 |
Troubled Debt Restructurings: A modification of a loan may result in classification as a TDR when a borrower is experiencing financial difficulty and the modification constitutes a concession. The Corporation offers various types of modifications which may involve a change in the schedule of payments, a reduction in the interest rate, an extension of the maturity date, extending the maturity date at an interest rate lower than the current market rate for new debt with similar risk, requesting additional collateral, releasing collateral for consideration, substituting or adding a new borrower or guarantor, a permanent reduction of the recorded investment in the loan or a permanent reduction of the interest on the loan. As of June 30, 2017 and December 31, 2016, the Corporation has a recorded investment in TDRs of $10.0 million and $10.2 million, respectively. There were specific reserves of $0.9 million allocated for TDRs at both June 30, 2017 and December 31, 2016. As of June 30, 2017, TDRs totaling $2.8 million were accruing interest under the modified terms and $7.2 million were on non-accrual status. As of December 31, 2016, TDRs totaling $5.8 million were accruing interest under the modified terms and $4.4 million were on non-accrual status. The Corporation had committed no additional amounts as of both June 30, 2017 and December 31, 2016, to customers with outstanding loans that are classified as TDRs. During the three-month periods ended June 30, 2017 and 2016, the terms of certain loans were modified as TDRs. The modification of the terms of two commercial & industrial term loans and one commercial line of credit during the three months ended June 30, 2017 included consolidating the loans into one commercial & industrial loan, extending the maturity date by approximately two years and lowering the monthly payment. An additional piece of equipment was taken as collateral but was not considered to be of greater value than the concessions given. The modification of the terms of a residential mortgage loan during the three months ended June 30, 2017 included an extension of the maturity date by approximately five years and a postponement of the scheduled amortized past due payments to the end of the loan. The modification of the terms of a residential mortgage loan during the three months ended June 30, 2016 included an extension of the maturity date by thirteen years at a stated interest rate lower than the current market rate for new debt with similar risk and a corresponding reduction of the scheduled amortized payments of the loan due to the longer term. The modification of the terms of five commercial real estate loans and one residential home equity loan during the three months ended June 30, 2016 included consolidating the loans into one commercial real estate loan and extending the maturity date at a stated interest rate lower than the current market rate for new debt with similar risk. During the six months ended June 30, 2017 and 2016, the terms of certain loans were modified as TDRs. In addition to the modifications noted above, the modification of the terms of a commercial mortgage loan during the six months ended June 30, 2017 included a reduction of the scheduled amortized payments of the loan for greater than a three month period. In addition to the modifications noted above, the modification of the terms of a residential mortgage loan performed during the six months ended June 30, 2016 included a reduction in the stated interest rate for three years and a corresponding reduction of the scheduled amortized payments of the loan due to the lower interest rate. Additionally, $4 thousand of interest and past due escrow payments were capitalized on the restructured loan. The following table presents loans by class modified as TDRs that occurred during the three months ended June 30, 2017 and June 30, 2016 (dollars in thousands):
June 30, 2017 |  | Number of Loans |  | Pre-Modification Outstanding Recorded Investment |  | Post-Modification Outstanding Recorded Investment
Troubled debt restructurings: |  |  |  |  |  |
Commercial and agricultural: |  |  |  |  |  |
Commercial and industrial |  | 3 |  |  | $ | 171 |  |  | $ | 171 |
Residential mortgages |  | 1 |  |  | 105 |  |  | 105 |
Total |  | 4 |  |  | $ | 276 |  |  | $ | 276 |
June 30, 2016 |  | Number of Loans |  | Pre-Modification Outstanding Recorded Investment |  | Post-Modification Outstanding Recorded Investment
Troubled debt restructurings: |  |  |  |  |  |
Commercial mortgages: |  |  |  |  |  |  |  |  |
Commercial mortgages |  | 5 |  |  | $ | 312 |  |  | $ | 310 |
Residential mortgages |  | 1 |  |  | 174 |  |  | 182 |
Consumer loans: |  |  |  |  |  |
Home equity lines and loans |  | 1 |  |  | 74 |  |  | 74 |
Total |  | 7 |  |  | $ | 560 |  |  | $ | 566 |
The TDRs described above increased the allowance for loan losses by $0.1 million and resulted in no charge-offs during the three month period ended June 30, 2017. The TDRs described above did not increase the allowance for loan losses and resulted in no charge-offs during the three months ended June 30, 2016. The following tables presents loans by class modified as TDRs that occurred during the six months ended June 30, 2017 and 2016 (dollars in thousands):
June 30, 2017 |  | Number of Loans |  | Pre-Modification Outstanding Recorded Investment |  | Post-Modification Outstanding Recorded Investment
Troubled debt restructurings: |  |  |  |  |  |
Commercial and agricultural: |  |  |  |  |  |
Commercial and industrial |  | 3 |  |  | $ | 171 |  |  | $ | 171 |
Commercial mortgages: |  |  |  |  |  |  |  |  |
Commercial mortgages |  | 1 |  |  | 166 |  |  | 166 |
Residential mortgages |  | 1 |  |  | 105 |  |  | 105 |
Total |  | 5 |  |  | $ | 442 |  |  | $ | 442 |
June 30, 2016 |  | Number of Loans |  | Pre-Modification Outstanding Recorded Investment |  | Post-Modification Outstanding Recorded Investment
Troubled debt restructurings: |  |  |  |  |  |
Commercial mortgages: |  |  |  |  |  |  |  |  |
Commercial mortgages |  | 5 |  |  | $ | 312 |  |  | $ | 310 |
Residential mortgages |  | 2 |  |  | 295 |  |  | 307 |
Consumer loans: |  |  |  |  |  |
Home equity lines and loans |  | 1 |  |  | 74 |  |  | 74 |
Total |  | 8 |  |  | $ | 681 |  |  | $ | 691 |
The TDRs described above increased the allowance for loan losses by $0.1 million and resulted in no charge-offs during the six months ended June 30, 2017. The TDRs described above did not increase the allowance for loan losses and resulted in no charge-offs during the six months ended June 30, 2016. A loan is considered to be in payment default once it is 90 days contractually past due under the modified terms. There were no payment defaults on any loans previously modified as TDRs within twelve months following the modification during the three and six month periods ended June 30, 2017. There were no payment defaults on any loans previously modified as TDRs within twelve months following the modification during the three months ended June 30, 2016. The following table presents loans by class modified as TDRs for which there was a payment default within twelve months following the modification during the six months ended June 30, 2016:
|  | Number of Loans |  | Recorded Investment
Commercial mortgages: |  |  |  |
Commercial mortgages, other |  | 2 |  | $ | 2,120 |
Total |  | 2 |  | $ | 2,120 |
The TDRs that subsequently defaulted described above did not increase the allowance for loan losses and resulted in no charge offs during the three and six-month periods ended June 30, 2016. Credit Quality Indicators The Corporation establishes a risk rating at origination for all commercial loans. The main factors considered in assigning risk ratings include, but are not limited to: historic and future debt service coverage, collateral position, operating performance, liquidity, leverage, payment history, management ability, and the customer’s industry. Commercial relationship managers monitor all loans in their respective portfolios for any changes in the borrower’s ability to service its debt and affirm the risk ratings for the loans at least annually. For the retail loans, which include residential mortgages, indirect and direct consumer loans, home equity lines and loans, and credit cards, once a loan is properly approved and closed, the Corporation evaluates credit quality based upon loan repayment. The Corporation uses the risk rating system to identify criticized and classified loans. Commercial relationships within the criticized and classified risk ratings are analyzed quarterly. The Corporation uses the following definitions for criticized and classified loans (which are consistent with regulatory guidelines): Special Mention – Loans classified as special mention have a potential weakness that deserves management’s close attention. If left uncorrected, these potential weaknesses may result in deterioration of the repayment prospects for the loan or the institution’s credit position at some future date. Substandard – Loans classified as substandard are inadequately protected by the current net worth and paying capability of the obligor or of the collateral pledged, if any. Loans so classified have a well-defined weakness or weaknesses that jeopardize the liquidation of the debt. They are characterized by the distinct possibility that the institution will sustain some loss if the deficiencies are not corrected. Doubtful – Loans classified as doubtful have all the weaknesses inherent in those classified as substandard, with the added characteristic that the weaknesses make collection or liquidation in full, on the basis of currently existing facts, conditions, and values, highly questionable and improbable. Commercial loans not meeting the criteria above to be considered criticized or classified are considered to be pass rated loans. Loans listed as not rated are included in groups of homogeneous loans performing under terms of the loan notes. Based on the analyses performed as of June 30, 2017 and December 31, 2016, the risk category of the recorded investment of loans by class of loans is as follows (in thousands):
| June 30, 2017
| Not Rated |  | Pass |  | Special Mention |  | Substandard |  | Doubtful |  | Loans acquired with deteriorated credit quality |  | Total
Commercial and agricultural: |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial | $ | — |  |  | $ | 182,211 |  |  | $ | 5,321 |  |  | $ | 1,875 |  |  | $ | — |  |  | $ | — |  |  | $ | 189,407 |
Agricultural | — |  |  | 532 |  |  | — |  |  |  |  |  | — |  |  | — |  |  | 532 |
Commercial mortgages: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Construction | — |  |  | 56,388 |  |  | — |  |  | 1,306 |  |  | — |  |  | — |  |  | 57,694 |
Commercial mortgages | — |  |  | 522,740 |  |  | 8,058 |  |  | 15,325 |  |  | 1,419 |  |  | 1,006 |  |  | 548,548 |
Residential mortgages | 197,839 |  |  | — |  |  | — |  |  | 3,278 |  |  | — |  |  | — |  |  | 201,117 |
Consumer loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit cards | 1,403 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 1,403 |
Home equity lines and loans | 96,343 |  |  | — |  |  | — |  |  | 1,181 |  |  | — |  |  | — |  |  | 97,524 |
Indirect consumer loans | 142,459 |  |  | — |  |  | — |  |  | 673 |  |  | — |  |  | — |  |  | 143,132 |
Direct consumer loans | 16,422 |  |  | — |  |  | — |  |  | 17 |  |  | — |  |  | — |  |  | 16,439 |
Total | $ | 454,466 |  |  | $ | 761,871 |  |  | $ | 13,379 |  |  | $ | 23,655 |  |  | $ | 1,419 |  |  | $ | 1,006 |  |  | $ | 1,255,796 |
| December 31, 2016
| Not Rated |  | Pass |  | Special Mention |  | Substandard |  | Doubtful |  | Loans acquired with deteriorated credit quality |  | Total
Commercial and agricultural: |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial | $ | — |  |  | $ | 172,873 |  |  | $ | 2,277 |  |  | $ | 1,516 |  |  | $ | — |  |  | $ | — |  |  | $ | 176,666 |
Agricultural | — |  |  | 361 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 361 |
Commercial mortgages: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Construction | — |  |  | 45,055 |  |  | 259 |  |  | 1,196 |  |  | — |  |  | — |  |  | 46,510 |
Commercial mortgages | — |  |  | 496,723 |  |  | 8,574 |  |  | 15,566 |  |  | 1,460 |  |  | 1,323 |  |  | 523,646 |
Residential mortgages | 194,669 |  |  | — |  |  | — |  |  | 4,201 |  |  | — |  |  | 95 |  |  | 198,965 |
Consumer loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit cards | 1,476 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 1,476 |
Home equity lines and loans | 97,183 |  |  | — |  |  | — |  |  | 1,670 |  |  | — |  |  | — |  |  | 98,853 |
Indirect consumer loans | 139,339 |  |  | — |  |  | — |  |  | 654 |  |  | — |  |  | — |  |  | 139,993 |
Direct consumer loans | 16,967 |  |  | — |  |  | — |  |  | 45 |  |  | — |  |  | — |  |  | 17,012 |
Total | $ | 449,634 |  |  | $ | 715,012 |  |  | $ | 11,110 |  |  | $ | 24,848 |  |  | $ | 1,460 |  |  | $ | 1,418 |  |  | $ | 1,203,482 |
The Corporation considers the performance of the loan portfolio and its impact on the allowance for loan losses. For residential and consumer loan classes, the Corporation also evaluates credit quality based on the aging status of the loan, which was previously presented, and by payment activity. The following table presents the recorded investment in residential and consumer loans based on payment activity as of June 30, 2017 and December 31, 2016 (in thousands):
| June 30, 2017
|  |  | Consumer Loans
| Residential Mortgages |  | Credit Card |  | Home Equity Lines and Loans |  | Indirect Consumer Loans |  | Other Direct Consumer Loans
Performing | $ | 197,839 |  |  | $ | 1,403 |  |  | $ | 96,343 |  |  | $ | 142,459 |  |  | $ | 16,422 |
Non-Performing | 3,278 |  |  | — |  |  | 1,181 |  |  | 673 |  |  | 17 |
| $ | 201,117 |  |  | $ | 1,403 |  |  | $ | 97,524 |  |  | $ | 143,132 |  |  | $ | 16,439 |
| December 31, 2016
|  |  | Consumer Loans
| Residential Mortgages |  | Credit Card |  | Home Equity Lines and Loans |  | Indirect Consumer Loans |  | Other Direct Consumer Loans
Performing | $ | 194,764 |  |  | $ | 1,476 |  |  | $ | 97,183 |  |  | $ | 139,339 |  |  | $ | 16,967 |
Non-Performing | 4,201 |  |  | — |  |  | 1,670 |  |  | 654 |  |  | 45 |
| $ | 198,965 |  |  | $ | 1,476 |  |  | $ | 98,853 |  |  | $ | 139,993 |  |  | $ | 17,012 |
At the time of the merger with Fort Orange Financial Corp., the Corporation identified certain loans with evidence of deteriorated credit quality, and the probability that the Corporation would be unable to collect all contractually required payments from the borrower. These loans are classified as PCI loans. The Corporation adjusted its estimates of future expected losses, cash flows, and renewal assumptions on the PCI loans during the current year. These adjustments were made for changes in expected cash flows due to loans refinanced beyond original maturity dates, impairments recognized subsequent to the acquisition, advances made for taxes or insurance to protect collateral held and payments received in excess of amounts originally expected. The table below summarizes the changes in total contractually required principal and interest cash payments, management’s estimate of expected total cash payments and carrying value of the PCI loans from April 1, 2017 to June 30, 2017 and April 1, 2016 to June 30, 2016 (in thousands):
Three Months Ended June 30, 2017 |  | Balance at March 31, 2017 |  | Income Accretion |  | All Other Adjustments |  | Balance at June 30, 2017
Contractually required principal and interest |  | $ | 1,877 |  |  | $ | — |  |  | $ | (710 | ) |  | $ | 1,167 |
Contractual cash flows not expected to be collected (nonaccretable discount) |  | (352 | ) |  | — |  |  | 319 |  |  | (33 | )
Cash flows expected to be collected |  | 1,525 |  |  | — |  |  | (391 | ) |  | 1,134 |
Interest component of expected cash flows (accretable yield) |  | (155 | ) |  | 25 |  |  | 2 |  |  | (128 | )
Fair value of loans acquired with deteriorating credit quality |  | $ | 1,370 |  |  | $ | 25 |  |  | $ | (389 | ) |  | $ | 1,006 |
Three Months Ended June 30, 2016 |  | Balance at March 31, 2016 |  | Income Accretion |  | All Other Adjustments |  | Balance at June 30, 2016
Contractually required principal and interest |  | $ | 2,858 |  |  | $ | — |  |  | $ | (366 | ) |  | $ | 2,492 |
Contractual cash flows not expected to be collected (nonaccretable discount) |  | (505 | ) |  | — |  |  | 131 |  |  | (374 | )
Cash flows expected to be collected |  | 2,353 |  |  | — |  |  | (235 | ) |  | 2,118 |
Interest component of expected cash flows (accretable yield) |  | (275 | ) |  | 33 |  |  | (1 | ) |  | (243 | )
Fair value of loans acquired with deteriorating credit quality |  | $ | 2,078 |  |  | $ | 33 |  |  | $ | (236 | ) |  | $ | 1,875 |
For those purchased credit impaired loans disclosed above, the Corporation decreased the allowance for loan losses by $54 thousand and $15 thousand during the three months ended June 30, 2017 and 2016, respectively. The Corporation reversed $29 thousand of the allowance for loan losses during the three months ended June 30, 2017. The Corporation did not reverse any allowance for loan losses during the three months ended June 30, 2016. The tables below summarizes the changes in total contractually required principal and interest cash payments, management’s estimate of expected total cash payments and carrying value of the PCI loans from January 1, 2017 to June 30, 2017 and January 1, 2016 to June 30, 2016 (in thousands):
Six Months Ended June 30, 2017 |  | Balance at December 31, 2016 |  | Income Accretion |  | All Other Adjustments |  | Balance at June 30, 2017
Contractually required principal and interest |  | $ | 1,940 |  |  | $ | — |  |  | $ | (773 | ) |  | $ | 1,167 |
Contractual cash flows not expected to be collected (nonaccretable discount) |  | (352 | ) |  | — |  |  | 319 |  |  | (33 | )
Cash flows expected to be collected |  | 1,588 |  |  | — |  |  | (454 | ) |  | 1,134 |
Interest component of expected cash flows (accretable yield) |  | (170 | ) |  | 40 |  |  | 2 |  |  | (128 | )
Fair value of loans acquired with deteriorating credit quality |  | $ | 1,418 |  |  | $ | 40 |  |  | $ | (452 | ) |  | $ | 1,006 |
Six Months Ended June 30, 2016 |  | Balance at December 31, 2015 |  | Income Accretion |  | All Other Adjustments |  | Balance at June 30, 2016
Contractually required principal and interest |  | $ | 2,912 |  |  | $ | — |  |  | $ | (420 | ) |  | $ | 2,492 |
Contractual cash flows not expected to be collected (nonaccretable discount) |  | (506 | ) |  | — |  |  | 132 |  |  | (374 | )
Cash flows expected to be collected |  | 2,406 |  |  | — |  |  | (288 | ) |  | 2,118 |
Interest component of expected cash flows (accretable yield) |  | (311 | ) |  | 70 |  |  | (2 | ) |  | (243 | )
Fair value of loans acquired with deteriorating credit quality |  | $ | 2,095 |  |  | $ | 70 |  |  | $ | (290 | ) |  | $ | 1,875 |
For those purchased credit impaired loans disclosed above, the Corporation decreased the allowance for loan losses by $54 thousand and $15 thousand during the six months ended June 30, 2017 and 2016, respectively. The Corporation reversed $29 thousand of the allowance for losses during the six months ended June 30, 2017. The Corporation did not reverse any allowance for loan losses during the six months ended June 30, 2016.

X
- References No definition available. + Details
Name: | us-gaap_LoansAndLeasesReceivableDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5066-111524 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(4)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(6)) -URI http://asc.fasb.org/extlink&oid=6488278&loc=d3e603758-122996 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5162-111524 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(5)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(7)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5074-111524 + Details
Name: | us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration