Loans | Note 5 – Loans The Company grants loans primarily to customers throughout north central, central and south central Pennsylvania and the southern tier of New York. The recently completed MidCoast acquisition has expanded our lending market into Wilmington and Dover, Delaware. Although the Company had a diversified loan portfolio at September and , a substantial portion of its debtors’ ability to honor their contracts is dependent on the economic conditions within these regions. The following table summarizes the primary segments of the loan portfolio and how those segments are analyzed within the allowance for loan losses as of September 30, 2021 and December 31, 2020 (in thousands): September 30 2021 Total Loans Individually evaluated for impairment Loans acquired with deteriorated credit quality Collectively evaluated for impairment Real estate loans: Residential $ 204,853 $ 690 $ 19 $ 204,144 Commercial 657,485 8,761 2,199 646,525 Agricultural 312,442 4,428 1,651 306,363 Construction 68,408 - - 68,408 Consumer 31,042 - - 31,042 Other commercial loans 92,188 462 - 91,726 Other agricultural loans 28,562 991 - 27,571 State and political subdivision loans 47,928 - - 47,928 Total 1,442,908 15,332 3,869 1,423,707 Allowance for loan losses 17,334 213 - 17,121 Net loans $ 1,425,574 $ 15,119 $ 3,869 $ 1,406,586 December 31, 2020 Total Loans Individually evaluated for impairment Loans acquired with deteriorated credit quality Collectively evaluated for impairment Real estate loans: Residential $ 201,911 $ 990 $ 20 $ 200,901 Commercial 596,255 9,183 2,937 584,135 Agricultural 315,158 4,645 1,686 308,827 Construction 35,404 - - 35,404 Consumer 30,277 2 - 30,275 Other commercial loans 114,169 1,335 232 112,602 Other agricultural loans 48,779 1,122 - 47,657 State and political subdivision loans 63,328 - - 63,328 Total 1,405,281 17,277 4,875 1,383,129 Allowance for loan losses 15,815 510 - 15,305 Net loans $ 1,389,466 $ 16,767 $ 4,875 $ 1,367,824 During 2021 the Company continued its participation in the Paycheck Protection Program (“PPP”), administered directly by the U.S. Small Business Administration (the “SBA”). The PPP provides loans to small businesses who were affected by economic conditions as a result of COVID -19 to provide cash-flow assistance to employers who maintain their payroll (including healthcare and certain related expenses), mortgage interest, rent, leases, utilities and interest on existing debt during the COVID -19 emergency. As of September 30, 2021 and December 31, 2020 , the Company had outstanding principal balances of $ million and $ million , respectively, of PPP loans that are included in other commercial loans. During 2021 , the Company originated $ million of loans, of which $ million remain outstanding as of September . The PPP loans are fully guaranteed by the SBA and may be eligible for forgiveness by the SBA to the extent that the proceeds are used to cover eligible payroll costs, interest costs, rent, and utility costs over a period of up to 24 weeks after the loan is made as long as certain conditions are met regarding employee retention and compensation levels. PPP loans deemed eligible for forgiveness by the SBA will be repaid by the SBA to the Company. The SBA has issued guidance for forgiveness with a streamlined approach for loans of $ or less. In accordance with the SBA terms and conditions on these PPP loans, the Company received approximately $ million in fees associated with the processing of the loans outstanding as of September 30,2021 . Upon funding of the loan, these fees were deferred and will be amortized over the life of the loan as an adjustment to yield in accordance with FASB ASC 310-20-25-2 . As of September , $ of deferred fees related to the PPP loans remain to be amortized The Company evaluated whether loans acquired as part of the MidCoast acquisition were within the scope of ASC 310-30 , Receivables-Loans and Debt Securities Acquired with Deteriorated Credit Quality. Purchased credit-impaired loans no material increases or decreases in the expected cash flows of these loans between April 17, 2020 (the “acquisition date”) and September 30, 2021 . The fair value of PCI loans, on the acquisition date, was determined, primarily based on the fair value of loan collateral. The carrying value of purchased loans acquired with deteriorated credit quality as a result of the MidCoast acquisition was $ at September 30, 2021 . On the acquisition date, the preliminary estimate of the unpaid principal balance for all loans evidencing credit impairment acquired in the MidCoast acquisition was $ and the estimated fair value of the loans was $ . Total contractually required payments on these loans, including interest, at the acquisition date was $ . However, the Company’s preliminary estimate of expected cash flows was $ at the acquisition date. At the acquisition date, the Company established a credit risk related non-accretable discount (a discount representing amounts which are not expected to be collected from the customer nor liquidation of collateral) of $ relating to these impaired loans, reflected in the recorded net fair value. Such amount is reflected as a non-accretable fair value adjustment to loans. The Company further estimated the timing and amount of expected cash flows in excess of the estimated fair value and established an accretable discount of $ on the acquisition date relating to these impaired loans. The table below presents the components of the purchase accounting adjustments related to the purchased impaired loans acquired in the MidCoast acquisition as of (in thousands): April 17, 2020 Contractually required principal and interest at acquisition $ 8,801 Non-accretable discount (2,966 ) Expected cash flows 5,835 Accretable discount $ (966 ) Estimated fair value $ 4,869 Changes in the accretable yield for PCI loans were as follows for the three and nine months ended September Three months ended September 30, Nine September 30 2021 2020 2021 2020 Balance at beginning of period $ 584 $ 987 $ 788 $ 89 Acquisition of Midcoast - - - 966 Reclassification of non-accretable discount 29 - 29 - Accretion (135 ) (100 ) (339 ) (168 ) Balance at end of period $ 478 $ 887 $ 478 $ 887 The following table presents additional information regarding loans acquired with specific evidence of deterioration in credit quality under ASC 310-30 (in thousands): September 30, 2021 December 31, 2020 Outstanding balance $ 6,935 $ 8,958 Carrying amount 3,869 4,875 The segments of the Company’s loan portfolio are disaggregated into classes to a level that allows management to monitor risk and performance. Residential real estate mortgages consist primarily of 15 to 30 year first mortgages on residential real estate, while residential real estate home equity loans are consumer purpose installment loans or lines of credit with terms of 15 years or less secured by a mortgage which is often a second lien on residential real estate. Commercial real estate loans are business purpose loans secured by a mortgage on commercial real estate. Agricultural real estate loans are loans secured by a mortgage on real estate used in agriculture production. Construction real estate loans are loans secured by residential, commercial or agricultural real estate used during the construction phase of residential, commercial or agricultural projects. Consumer loans are typically unsecured or primarily secured by assets other than real estate and overdraft lines of credit are typically secured by customer deposit accounts. Other commercial loans are loans for commercial purposes primarily secured by non-real estate collateral. Other agricultural loans are loans for agricultural purposes primarily secured by non-real estate collateral. State and political subdivision loans are loans to state and local municipalities for capital and operating expenses or tax free loans used to finance commercial development. Management considers other commercial loans, other agricultural loans, state and political subdivision loans, commercial real estate loans and agricultural real estate loans which are 90 days or more past due to be impaired. Management will also consider a loan impaired based on other factors it becomes aware of, including the customer’s results of operations and cash flows or if the loan is modified in a troubled debt restructuring. In addition, certain residential mortgages, home equity and consumer loans that are cross collateralized with commercial relationships that are determined to be impaired may also be classified as impaired. Impaired loans are analyzed to determine if it is probable that all amounts will not be collected according to the contractual terms of the loan agreement. If management determines that the value of the impaired loan is less than the recorded investment in the loan (net of previous charge-offs, deferred loan fees or costs and unamortized premium or discount), impairment is recognized through an allocation to the allowance for loan losses or a charge-off to the allowance for loan losses. The following table includes the recorded investment and unpaid principal balances for impaired loan receivables by class, excluding PCI loans, with the associated allowance amount, if applicable (in thousands): September 30 2021 Unpaid Principal Balance Recorded Investment With No Allowance Recorded Investment With Allowance Total Recorded Investment Related Allowance Real estate loans: Mortgages $ 757 $ 561 $ 46 $ 607 $ 7 Home Equity 100 38 45 83 7 Commercial 9,650 7,937 824 8,761 85 Agricultural 4,708 2,734 1,694 4,428 17 Other commercial loans 1,088 366 96 462 34 Other agricultural loans 1,207 13 978 991 63 State and political subdivision loans - - - - - Total $ 17,510 $ 11,649 $ 3,683 $ 15,332 $ 213 December 31, 2020 Unpaid Principal Balance Recorded Investment With No Allowance Recorded Investment With Allowance Total Recorded Investment Related Allowance Real estate loans: Mortgages $ 1,070 $ 740 $ 123 $ 863 $ 9 Home Equity 150 70 57 127 9 Commercial 9,847 8,323 860 9,183 95 Agricultural 4,811 2,799 1,846 4,645 83 Construction - - - - - Consumer 2 2 - 2 - Other commercial loans 1,908 1,094 241 1,335 170 Other agricultural loans 1,262 19 1,103 1,122 144 Total $ 19,050 $ 13,047 $ 4,230 $ 17,277 $ 510 The following tables includes the average balance of impaired loan receivables by class and the income recognized on these receivables for the three and nine month periods ended September 30, 2021 and 2020 (in thousands): September 30, 2021 September 30, 2020 Average Recorded Investment Interest Income Recognized Interest Income Recognized Cash Basis Average Recorded Investment Interest Income Recognized Interest Income Recognized Cash Basis Real estate loans: Mortgages $ 727 $ 12 $ - $ 998 $ 15 $ - Home Equity 106 4 - 142 5 - Commercial 8,902 211 23 10,836 294 20 Agricultural 4,513 64 - 3,718 58 - Consumer 1 - - 3 - - Other commercial loans 876 2 - 1,757 2 - Other agricultural loans 1,069 3 - 1,275 6 - Total $ 16,194 $ 296 $ 23 $ 18,729 $ 380 $ 20 For the Three Months Ended September 30, 2021 September 30, 2020 Average Recorded Investment Interest Income Recognized Interest Income Recognized Cash Basis Average Recorded Investment Interest Income Recognized Interest Income Recognized Cash Basis Real estate loans: Mortgages $ 613 $ 4 $ - $ 900 $ 5 $ - Home Equity 84 1 - 138 2 - Commercial 8,688 77 8 9,436 75 18 Agricultural 4,454 21 - 3,633 18 - Construction - - - - - - Consumer - - - 5 - - Other commercial loans 486 1 - 1,626 - - Other agricultural loans 1,022 - - 1,259 2 - State and political subdivision loans - - - - - - Total $ 15,347 $ 104 $ 8 $ 16,997 $ 102 $ 18 Credit Quality Information For commercial real estate, agricultural real estate, construction, other commercial, other agricultural and state and political subdivision loans, management uses a nine grade internal risk rating system to monitor and assess credit quality. The first five categories are considered not criticized and are aggregated as “Pass” rated. The criticized rating categories utilized by management generally follow bank regulatory definitions. The definitions of each rating are defined below: • Pass (Grades 1-5) – These loans are to customers with credit quality ranging from an acceptable to very high quality and are protected by the current net worth and paying capacity of the obligor or by the value of the underlying collateral. • Special Mention (Grade 6) – This loan grade is in accordance with regulatory guidance and includes loans where a potential weakness or risk exists, which could cause a more serious problem if not corrected. • Substandard (Grade 7) – This loan grade is in accordance with regulatory guidance and includes loans that have a well-defined weakness based on objective evidence and be characterized by the distinct possibility that the Bank will sustain some loss if the deficiencies are not corrected. • Doubtful (Grade 8) – This loan grade is in accordance with regulatory guidance and includes loans that have all the weaknesses inherent in a substandard asset. In addition, these weaknesses make collection or liquidation in full highly questionable and improbable, based on existing circumstances. • Loss (Grade 9) – This loan grade is in accordance with regulatory guidance and includes loans that are considered uncollectible, or of such value that continuance as an asset is not warranted. To help ensure that risk ratings are accurate and reflect the present and future capacity of borrowers to repay the loan as agreed, the Company’s loan rating process includes several layers of internal and external oversight. The Company’s loan officers are responsible for the timely and accurate risk rating of the loans in each of their portfolios at origination and on an ongoing basis under the supervision of management. All commercial, agricultural and state and political relationships over $500,000 are reviewed annually to ensure the appropriateness of the loan grade. In addition, the Company engages an external consultant on at least an annual basis to: 1) review a minimum of 50% of the dollar volume of the commercial, agricultural and municipal loan portfolios on an annual basis, 2) review a sample of new loans originated for over $1.0 million in the last year, 3) review a sample of borrowers with commitments greater than or equal to $1.0 million, 4) review selected loan relationships over $750,000 which are over 30 days past due or classified Special Mention, Substandard, Doubtful, or Loss, and 5) such other loans which management or the consultant deems appropriate. The following tables represent credit exposures by internally assigned grades as of September September 30 2021 Pass Special Mention Substandard Doubtful Loss Ending Balance Real estate loans: Commercial $ 621,044 $ 27,862 $ 8,579 $ - $ - $ 657,485 Agricultural 293,926 12,679 5,837 - - 312,442 Construction 68,408 - - - - 68,408 Other commercial loans 88,080 2,908 1,150 50 - 92,188 Other agricultural loans 26,583 984 995 - - 28,562 State and political subdivision loans 47,724 204 - - - 47,928 Total $ 1,145,765 $ 44,637 $ 16,561 $ 50 $ - $ 1,207,013 December 31, 2020 Pass Special Mention Substandard Doubtful Loss Ending Balance Real estate loans: Commercial $ 563,121 $ 24,329 $ 8,805 $ - $ - $ 596,255 Agricultural 289,216 14,307 11,635 - - 315,158 Construction 35,404 - - - - 35,404 Other commercial loans 106,604 3,808 3,672 85 - 114,169 Other agricultural loans 45,758 1,431 1,590 - - 48,779 State and political subdivision loans 58,649 4,372 307 - - 63,328 Total $ 1,098,752 $ 48,247 $ 26,009 $ 85 $ - $ 1,173,093 For residential real estate mortgages, home equity and consumer loans, credit quality is monitored based on whether the loan is performing or non-performing, which is typically based on the aging status of the loan and payment activity, unless a specific action, such as bankruptcy, repossession, death or significant delay in payment occurs to raise awareness of a possible credit event. Non-performing loans include those loans that are considered nonaccrual, described in more detail below, and all loans past due 90 or more days and still accruing. The following table presents the recorded investment in those loan classes based on payment activity as of September September 30 2021 Performing Non-performing PCI Total Real estate loans: Mortgages $ 151,907 $ 610 $ 19 $ 152,536 Home Equity 52,256 61 - 52,317 Consumer 31,040 2 - 31,042 Total $ 235,203 $ 673 $ 19 $ 235,895 December 31, 2020 Performing Non-performing PCI Total Real estate loans: Mortgages $ 145,843 $ 1,039 $ 20 $ 146,902 Home Equity 54,961 48 - 55,009 Consumer 30,247 30 - 30,277 Total $ 231,051 $ 1,117 $ 20 $ 232,188 Aging Analysis of Past Due Loan Receivables Management further monitors the performance and credit quality of the loan portfolio by analyzing the age of the portfolio as determined by the length of time a recorded payment is past due. The following table includes an aging analysis of the recorded investment of past due loan receivables as of September September 30 2021 30-59 Days Past Due 60-89 Days Past Due 90 Days Or Greater Total Past Due Current PCI Total Loans Receivables 90 Days or Greater and Accruing Real estate loans: Mortgages $ 340 $ 110 $ 200 $ 650 $ 151,867 $ 19 $ 152,536 $ 37 Home Equity 18 8 49 75 52,242 - 52,317 44 Commercial 668 94 2,254 3,016 652,270 2,199 657,485 - Agricultural 530 10 1,358 1,898 308,893 1,651 312,442 - Construction - - - - 68,408 - 68,408 - Consumer 104 - 2 106 30,936 - 31,042 2 Other commercial loans 52 - 366 418 91,770 - 92,188 - Other agricultural loans 2 33 - 35 28,527 - 28,562 - State and political subdivision loans - - - - 47,928 - 47,928 - Total $ 1,714 $ 255 $ 4,229 $ 6,198 $ 1,432,841 $ 3,869 $ 1,442,908 $ 83 Loans considered non-accrual $ 477 $ 10 $ 4,146 $ 4,633 $ 4,225 $ - $ 8,858 Loans still accruing 1,237 245 83 1,565 1,428,616 3,869 1,434,050 Total $ 1,714 $ 255 $ 4,229 $ 6,198 $ 1,432,841 $ 3,869 $ 1,442,908 December 31, 2020 30-59 Days Past Due 60-89 Days Past Due 90 Days Or Greater Total Past Due Current PCI Total Loans Receivables 90 Days or Greater and Accruing Real estate loans: Mortgages $ 864 $ 414 $ 518 $ 1,796 $ 145,086 $ 20 $ 146,902 $ 252 Home Equity 152 62 34 248 54,761 - 55,009 23 Commercial 836 439 1,822 3,097 590,221 2,937 596,255 70 Agricultural 2,283 - 1,329 3,612 309,860 1,686 315,158 150 Construction - - - - 35,404 - 35,404 - Consumer 147 9 30 186 30,091 - 30,277 30 Other commercial loans 930 - 133 1,063 112,874 232 114,169 - Other agricultural loans 1,044 - - 1,044 47,735 - 48,779 - State and political subdivision loans - - - - 63,328 - 63,328 - Total $ 6,256 $ 924 $ 3,866 $ 11,046 $ 1,389,360 $ 4,875 $ 1,405,281 $ 525 Loans considered non-accrual $ 3,032 $ 28 $ 3,341 $ 6,401 $ 4,331 $ - $ 10,732 Loans still accruing 3,224 896 525 4,645 1,385,029 4,875 1,394,549 Total $ 6,256 $ 924 $ 3,866 $ 11,046 $ 1,389,360 $ 4,875 $ 1,405,281 Nonaccrual Loans Loans are considered for non-accrual status upon reaching 90 days delinquency, although the Company may be receiving partial payments of interest and partial repayments of principal on such loans, or if full payment of principal and interest is not expected. Additionally, if management is made aware of other information including bankruptcy, repossession, death, or legal proceedings, the loan may be placed on non-accrual status. If a loan is 90 days or more past due and is well secured and in the process of collection, it may still be considered accruing. The following table reflects the loan receivables, excluding PCI loans, on non-accrual status as of September September 30, 2021 December 31, 2020 Real estate loans: Mortgages $ 573 $ 787 Home Equity 17 25 Commercial 3,778 4,529 Agricultural 3,196 3,133 Other commercial loans 416 1,284 Other agricultural loans 878 974 $ 8,858 $ 10,732 Loan Modifications Related to COVID-19 The Company has elected to follow the loan modification guidance under Section 4013 of the CARES Act with regard to COVID-19 modifications made between March 1, 2020 and the earlier of either January 1, 2022 or the 60th day after the end of the COVID-19 national emergency. Under section 4013 of the CARES Act, loans less than 30 days past due as of December 31, 2019 will be considered current for COVID-19 modifications. A financial institution can then suspend the requirements under GAAP for loan modifications related to COVID-19 that would otherwise be categorized as a TDR, and suspend any determination of a loan modified as a result of COVID-19 as being a TDR, including the requirement to determine impairment for accounting purposes. Similarly, the Financial Accounting Standards Board has confirmed that short-term modifications made on a good-faith basis in response to COVID-19 to loan customers who were current prior to any relief are not TDRs. A modification of six months or less is considered to be a short-term loan modification. In response to the COVID-19 pandemic, the Company has prudently executed loan modifications for existing loan customers, which includes deferrals of interest and in certain cases deferrals of principal and interest. The following table presents information regarding loans which were subject to a loan modification related to COVID-19 during 2021 , with balances as of December 31, 2020 and September , as well as the balance by modification type as of September Number of loans Balance as of December 31, 2020 Number of loans Balance as of September 30, 2021 Principal and Interest Deferral Principal Deferral % of loans as of September 30, 2021 Real estate loans: Mortgages 1 $ 209 - $ - $ - $ - 0.00 % Home Equity 1 49 - - - - 0.00 % Commercial 12 26,039 - - - - 0.97 % Agricultural 3 181 - - - - 0.00 % Other commercial loans 2 249 - - - - 0.00 % Total 19 $ 26,727 - $ - $ - $ - 0.00 % Troubled Debt Restructurings In situations where, for economic or legal reasons related to a borrower’s financial difficulties, management may grant a concession for other than an insignificant period of time to the borrower that would not otherwise be considered, the related loan is classified as a Troubled Debt Restructuring (TDR). Management strives to identify borrowers in financial difficulty early and work with them to structure more affordable terms before their loan reaches nonaccrual status. These restructured terms may include rate reductions, principal forgiveness, payment forbearance and other actions intended to minimize the economic loss and to avoid foreclosure or repossession of the collateral. In cases where borrowers are granted new terms that provide for a reduction of interest or principal, or both, management measures any impairment on the restructuring by calculating the present value of the revised loan terms and comparing this balance to the Company’s investment in the loan prior to the restructuring. As these loans are individually evaluated, they are excluded from pooled portfolios when calculating the allowance for loan and lease losses and a separate allocation within the allowance for loan and lease losses is provided. Management continually evaluates loans that are considered TDRs, including payment history under the modified loan terms, the borrower’s ability to continue to repay the loan based on continued evaluation of their operating results and cash flows from operations. As of September Loan modifications that are considered TDRs completed during the nine months ended September and the three and nine months ended September 30, 2020 were as follows (dollars in thousands): For the Nine Months Ended September 30, 2021 Number of contracts Pre-modification Outstanding Recorded Investment Post-Modification Outstanding Recorded Investment Interest Modification Term Modification Interest Modification Term Modification Interest Modification Term Modification Real estate loans: Commercial - 3 $ - $ 1,407 $ - $ 1,407 Total - 3 $ - $ 1,407 $ - $ 1,407 For the Three Months Ended September 30, 2020 Number of contracts Pre-modification Outstanding Recorded Investment Post-Modification Outstanding Recorded Investment Interest Modification Term Modification Interest Modification Term Modification Interest Modification Term Modification Real estate loans: Commercial - 1 $ - $ 276 $ - $ 276 Consumer - 1 - 3 - 3 Total - 2 $ - $ 279 $ - $ 279 For the Nine Months Ended September 30, 2020 Number of contracts Pre-modification Outstanding Recorded Investment Post-Modification Outstanding Recorded Investment Interest Modification Term Modification Interest Modification Term Modification Interest Modification Term Modification Real estate loans: Commercial - 3 $ - $ 682 $ - $ 682 Agricultural - 1 - 150 - 150 Consumer - 1 - 3 - 3 Total - 5 $ - $ 835 $ - $ 835 There were no loan modifications that were considered TDRs during the three months ended September 30, 2021. Recidivism, or the borrower defaulting on its obligation pursuant to a modified loan, results in the loan once again becoming a non-accrual loan. Recidivism on modified loans occurs at a notably higher rate than do defaults on new origination loans, so modified loans present a higher risk of loss than do new origination loans. The following table presents the recorded investment in loans that were modified as TDRs during each 12-month period prior to the current reporting periods, which began January 1, 2020 and 2019 (9 month periods) and July 1, 2021 and 2020 (3 month periods), respectively, and that subsequently defaulted during these reporting periods (dollars in thousands): For the Three Months Ended For the Nine Months Ended September 30, 2021 September 30, 2020 September 30, 2021 September 30, 2020 Number of contracts Recorded investment Number of contracts Recorded investment Number of contracts Recorded investment Number of contracts Recorded investment Real estate loans: Commercial - $ - 1 $ 110 - $ - 1 $ 110 Total recidivism - $ - 1 $ 110 - $ - 1 $ 110 Allowance for Loan Losses The following table segregates the allowance for loan losses (ALLL) into the amount required for loans individually evaluated for impairment and the amount required for loans collectively evaluated for impairment as of September 30, 2021 and December 31, 2020, respectively (in thousands): September 30, 2021 December 31, 2020 Individually evaluated for impairment Collectively evaluated for impairment Total Individually evaluated for impairment Collectively evaluated for impairment Total Real estate loans: Residential $ 14 $ 1,176 $ 1,190 $ 18 $ 1,156 $ 1,174 Commercial 85 7,593 7,678 95 6,121 6,216 Agricultural 17 4,729 4,746 83 4,870 4,953 Construction - 538 538 - 122 122 Consumer - 318 318 - 321 321 Other commercial loans 34 1,097 1,131 170 1,056 1,226 Other agricultural loans 63 385 448 144 720 864 State and political subdivision loans - 296 296 - 479 479 Unallocated - 989 989 - 460 460 Total $ 213 $ 17,121 $ 17,334 $ 510 $ 15,305 $ 15,815 The following tables roll forward the balance of the ALLL by portfolio segment for the three and nine months ended September 30, 2021 and 2020, respectively (in thousands): For the three months ended September 30, 2021 Balance at June 30, 2021 Charge-offs Recoveries Provision Balance at September 30, 2021 Real estate loans: Residential $ 1,174 $ - $ - $ 16 $ 1,190 Commercial 7,106 - - 572 7,678 Agricultural 4,706 - - 40 4,746 Construction 496 - - 42 538 Consumer 85 (7 ) 4 236 318 Other commercial loans 1,328 - 6 (203 ) 1,131 Other agricultural loans 583 - - (135 ) 448 State and political subdivision loans 404 - - (108 ) 296 Unallocated 1,049 - - (60 ) 989 Total $ 16,931 $ (7 ) $ 10 $ 400 $ 17,334 For the three months ended September 30, 2020 Balance at June 30, 2020 Charge-offs Recoveries Provision Balance at September 30, 2020 Real estate loans: Residential $ 1,206 $ - $ - $ 13 $ 1,219 Commercial 4,944 (220 ) 3 579 5,306 Agricultural 5,061 (4 ) 19 (270 ) 4,806 Construction 81 - - 4 85 Consumer 362 (12 ) 3 (1 ) 352 Other commercial loans 1,201 (1 ) 4 26 1,230 Other agricultural loans 821 - - (86 ) 735 State and political subdivision loans 547 - - (33 ) 514 Unallocated 604 - - 318 922 Total $ 14,827 $ (237 ) $ 29 $ 550 $ 15,169 For the nine months ended September 30, 2021 Balance at December 31, 2020 Charge-offs Recoveries Provision Balance at September 30, 2021 Real estate loans: Residential $ 1,174 $ - $ - $ 16 $ 1,190 Commercial 6,216 - 89 1,373 7,678 Agricultural 4,953 - - (207 ) 4,746 Construction 122 - - 416 538 Consumer 321 (16 ) 16 (3 ) 318 Other commercial loans 1,226 (133 ) 13 25 1,131 Other agricultural loans 864 - - (416 ) 448 State and political subdivision loans 479 - - (183 ) 296 Unallocated 460 - - 529 989 Total $ 15,815 $ (149 ) $ 118 $ 1,550 $ 17,334 For the nine months ended September 30, 2020 Balance at December 31, 2019 Charge-offs Recoveries Provision Balance at September 30, 2020 Real estate loans: Residential $ 1,114 $ - $ - $ 105 $ 1,219 Commercial 4,549 (221 ) 37 941 5,306 Agricultural 5,022 (4) 19 (231) 4,806 Construction 43 - - 42 85 Consumer 112 (30 ) 15 255 352 Other commercial loans 1,255 (1) 9 (33 ) 1,230 Other agricultural loans 961 - - (226 ) 735 State and political subdivision loans 536 - - (22) 514 Unallocated 253 - - 669 922 Total $ 13,845 $ (256 ) $ 80 $ 1,500 $ 15,169 The Company allocates the ALLL based on the factors described below, which conform to the Company’s loan classification policy and credit quality measurements. In reviewing risk within the Company’s loan portfolio, management has determined there to be several different risk categories within the loan portfolio. The ALLL consists of amounts applicable to: (i) residential real estate loans; (ii) residential real estate home equity loans; (iii) commercial real estate loans; (iv) agricultural real estate loans; (v) real estate construction loans; (vi) other commercial and agricultural loans; (vii) consumer loans; (viii) other agricultural loans and (ix) state and political subdivision loans. Factors considered in this process include general loan terms, collateral, and availability of historical data to support the analysis. Historical loss percentages are calculated and used as the basis for calculating allowance allocations. Certain qualitative factors are evaluated to determine additional inherent risks in the loan portfolio, which are not necessarily reflected in the historical loss percentages. These factors are then added to the historical allocation percentage to get the adjusted factor to be applied to non-classified loans. The following qualitative factors are analyzed: • Level of and trends in delinquencies and impaired/classified loans ▪ Change in volume and severity of past due loans ▪ Volume and severity of non-accrual loans ▪ Volume and severity of classified, adversely or graded loans; • Level of and trends in charge-offs and recoveries; • Trends in volume, terms and nature of the loan portfolio; • Effects of any changes in risk selection and underwriting standards and any other changes in lending and recovery policies, procedures and practices; • Changes in the quality of the Company’s loan review system; • Experience, ability and depth of lending management and other relevant staff; • National, state, regional and local economic trends and business conditions ▪ General economic conditions ▪ Unemployment rates ▪ Inflation rate/ Consumer Price Index ▪ Changes in values of underlying collateral for collateral-dependent loans; • Industry conditions including the effects of external factors such as competition, legal, and regulatory requirements on the level of estimated credit losses; • Existence and effect of any credit concentrations, and changes in the level of such concentrations; and • Any change in the level of board oversight. The Company analyzes its loan portfolio at least each quarter to determine the adequacy of its ALLL. Loans determined to be TDRs are impaired and for purposes of estimating the ALLL must be individually evaluated for impairment. In calculating the impairment, the Company calculates the present value utilizing an analysis of discounted cash flows. If the present value calculated is below the recorded investment of the loan, impairment is recognized by a charge to the provision for loan and lease losses and a credit to the ALLL. For the three months ended September 30, 2021, the allowance for commercial real estate loans increased due to loans acquired as part of the MidCoast acquisition maturing and then renewed and becoming subject to the Company’s allowance calculation. The factor related to volume and severity of past due loans was decreased for other commercial loans due to a decrease in past due loans. The factor rela |