CPSI 2017 Annual Report

83 12. LONG-TERM DEBT Long-term debt was comprised of the following at December 31, 2017 and 2016: (In thousands) December 31, 2017 December 31, 2016 Term loan facility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ 115,538 121,875 Revolving credit facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27,983 33,000 Capital lease obligation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565 861 Debt obligations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144,086 155,736 Less: debt issuance costs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (1,652) (2,930) Debt obligation, net . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142,434 152,806 Less: current portion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (5,820) (5,817) Long-term debt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ 136,614 $ 146,989 As of December 31, 2017, the carrying value of debt approximates the fair value due to the variable interest rate which reflects market rates. Credit Agreement In conjunction with our acquisition of HHI in January 2016, we entered into the Previous Credit Agreement which provided for the $125 million Previous Term Loan Facility and the $50 million Previous Revolving Credit Facility. On October 13, 2017, the Company entered into the Second Amendment to refinance and decrease the aggregate committed size of the credit facilities from $175 million to $162 million, which included the $117 million Amended Term Loan Facility and the $45 million Amended Revolving Credit Facility. On February 8, 2018, the Company entered into the Third Amendment to increase the aggregate principle amount of the credit facilities from $162 million to $167 million, which includes the $117 million Amended Term Loan Facility and a $50 million Amended Revolving Credit Facility. Each of the Previous Credit Facilities bore interest at a rate per annum equal to an applicable margin plus, at our option, either (1) the Adjusted LIBOR rate for the relevant interest period, (2) an alternate base rate determined by reference to the greater of (a) the prime lending rate of Regions, (b) the federal funds rate for the relevant interest period plus one half of one percent per annum and (c) the one month LIBOR rate plus one percent per annum, or (3) a combination of (1) and (2). The applicable margin ranged from 2.25% to 3.50% for LIBOR loans and 1.25% to 2.50% for base rate loans, in each case based on our consolidated leverage ratio (as defined in the Amended Credit Agreement). Interest on the outstanding principal of the Previous Term Loan Facility and interest on borrowings under the Previous Revolving Credit Facility was payable on the last day of each month, in the case of each base rate loan, and on the last day of each interest period (but no less frequently than every three months), in the case of LIBOR loans. Principal payments on the Previous Term Loan Facility were due on the last day of each fiscal quarter beginning March 31, 2016, with quarterly principal payments of approximately $0.8 million in 2016, approximately $1.6 million in 2017, approximately $2.3 million in 2018, approximately $3.1 million in 2019 and approximately $3.9 million in 2020, with the remainder due at maturity on January 8, 2021 or such earlier date as the obligations under the Previous Credit Agreement become due and payable pursuant to the terms of the Previous Credit Agreement (the “Previous Maturity Date”). The Previous Revolving Credit Facility included a $5 million swingline sublimit, with swingline loans bearing interest at the alternate base rate plus the applicable margin. Any principal outstanding under the Previous Revolving Credit Facility was due and payable on the Previous Maturity Date. Each of the Amended Credit Facilities continues to bear interest at a rate per annum equal to an applicable margin plus, at our option, either (1) the Adjusted LIBOR rate for the relevant interest period, (2) an alternate base rate determined by reference to the greater of (a) the prime lending rate of Regions, (b) the federal funds rate for the relevant interest period plus one half of one percent per annum and (c) the one month LIBOR rate plus one percent per annum, or (3) a combination of (1) and (2). The applicable margin range for LIBOR loans and the letter of credit fee ranges from 2.00% to 3.50%. The applicable margin range for base rate loans ranges from 1.00% to 2.50%, in each case based on the Company's consolidated leverage ratio. Principal payments with respect to the Amended Term Loan Facility are due on the last day of each fiscal quarter beginning December 31, 2017, with quarterly principal payments of approximately $1.46 million through September 30, 2019, approximately $2.19 million through September 30, 2021 and approximately $2.93 million through September 30. 2022,

RkJQdWJsaXNoZXIy NTIzOTM0