 
 
    The following table outlines the amount of each troubled debt restructuring categorized by loan classification as of December 31, 2013 and 2012 (dollars in thousands):
| December 31, 2013 | December 31, 2012 | |||||||||||||||||||||||
| Number of Contracts | Pre Modification Outstanding Recorded Investment | Post Modification Outstanding Recorded Investment, Net of Related Allowance | Number of Contracts | Pre Modification Outstanding Recorded Investment | Post Modification Outstanding Recorded Investment, Net of Related Allowance | |||||||||||||||||||
| Residential 1-4 family | 6 | $ | 800 | $ | 800 | 1 | $ | 365 | $ | 275 | ||||||||||||||
| Multifamily | — | — | — | — | — | — | ||||||||||||||||||
| Commercial real estate | 2 | 5,522 | 3,291 | 1 | 416 | 355 | ||||||||||||||||||
| Construction | 1 | 282 | 282 | 4 | 5,153 | 3,898 | ||||||||||||||||||
| Farmland | — | — | — | 1 | 1,445 | 595 | ||||||||||||||||||
| Second mortgages | 1 | 24 | 24 | — | — | — | ||||||||||||||||||
| Equity lines of credit | — | — | — | — | — | — | ||||||||||||||||||
| Commercial | — | — | — | — | — | — | ||||||||||||||||||
| Agricultural, installment and other | 2 | 13 | 13 | 2 | 17 | 17 | ||||||||||||||||||
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | |||||||||||||
| Total | 12 | $ | 6,641 | $ | 4,410 | 9 | $ | 7,396 | $ | 5,140 | ||||||||||||||
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | |||||||||||||