Debt | 6. Deb t Long-term debt consisted of the following at September 30, 2017 and December 31, 2016 (in thousands): September 30, 2017 December 31, 2016 Senior secured loans (includes unamortized discount of $2,699 and $1,442 based on an imputed interest rate of 7.5% and 6.6%, at September 30, 2017 and December 31, 2016, respectively) $ 91,707 $ 47,929 Less current maturities (1,701 ) (2,190 ) Total long-term debt $ 90,006 $ 45,739 Loan and Security Agreements Fifth Amendment to Credit Facility On August 2, 2017, the Company amended and expanded its Credit Agreement (the “Credit Facility”). The Company entered into the Credit Facility with Wells Fargo Capital Finance and CIT Bank, N.A. as joint lead arrangers, and including Goldman Sachs Bank USA, Regions Bank, and Citizens Bank, N.A. (collectively, the "Lenders"), with a Fifth Amendment to Credit Agreement (the “Fifth Amendment”) that amends that certain Credit Facility dated as of May 14, 2015 among inter alia the Company, certain of its subsidiaries, and each of the Lenders named in the Credit Facility. Loans The Fifth Amendment to the Credit Facility provides for a $200.0 million credit facility, including (i) a fully drawn $95.0 million term loan, (ii) a fully available $40.0 million delayed draw term loan commitment (the "DDTL"), (iii) a fully available $10.0 million revolving loan commitment, and (iv) a $55.0 million uncommitted accordion. Specifically, the Credit Facility provides for $95.0 million of term debt comprised of (i) a fully drawn U.S. term loan facility in an aggregate principal amount of $89.6 million (the “U.S. Term Loan”), (ii) a fully drawn Canadian term loan facility in an aggregate principal amount of $5.4 million (the “Canadian Term Loan” together with the U.S. and Canadian Term Loans, the “Term Loans”). The Credit Facility also provides for the expansion of the Company’s delayed draw term facility from $10.0 million to $40.0 million and for an increase in the Company’s uncommitted accordion amount from $20.0 million to $55.0 million . In addition, the Credit Facility also provides for revolvers of $10.0 million , comprised of (i) a U.S. revolving credit facility in an aggregate principal amount of up to $9.0 million (the “U.S. Revolver”), (ii) a Canadian revolving credit facility in an aggregate principal amount of up to $1.0 million (the “Canadian Revolver” and, together with the U.S. Revolver, the “Revolver”). As of September 30, 2017 , there were no amounts drawn on its U.S. Revolver or Canadian Revolver loans outstanding under the Credit Facility, and there was $94.4 million outstanding on the Term Loans comprised of (i) $89.0 million in the U.S. Term Loans outstanding under the Credit Facility; and (ii) $5.4 million in the Canadian Term Loans outstanding under the Credit Facility. Terms of Term Loans Under the terms of the Fifth Amendment, the Term Loans are repayable, on a quarterly basis by an amount equal to 2.5% per annum on or before June 30, 2019, after which the existing 5.0% per annum is due thereafter until the facility’s maturity date of August 2, 2022. In addition, the leverage ratio was adjusted to exclude from the definition of Funded Indebtedness up to $15.0 million of qualified cash in excess of $2.5 million of qualified cash. Also, the maximum amount of purchase consideration payable in respect of an individual permitted acquisition increased from $20.0 million to $25.0 million and in respect of all permitted acquisitions from $75.0 million to $175.0 million . In addition, the amount of permitted indebtedness to sellers of businesses increased from $16.7 million to $20.0 million . Terms of Delay Draw Term Loan Pursuant to the terms of the Credit Facility, the $40.0 million DDTL is to be used to finance acquisitions. The DDTL, if all or a portion is drawn, is repayable, on a quarterly basis, by an amount equal to 2.5% per annum on or before June 30, 2019, after which the existing 5.0% per annum is due thereafter until the facility’s maturity date of August 2, 2022. Terms of Revolver Loans under the Revolver are available up to the lesser of (i) $10.0 million (the “Maximum Revolver Amount”) or (ii) the maximum facility amount of $145.0 million , less the sum of any amount of Revolver usage plus the outstanding balance of the Term Loans and other uses of the capacity made under the Credit Facility (such amount, the “Credit Amount”). The Revolver provides a subfacility whereby the Company may request letters of credit (the “Letters of Credit”) in an aggregate amount not to exceed, at any one time outstanding, $0.5 million and $0.25 million , from the U.S and Canadian facilities, respectively. The aggregate amount of outstanding Letters of Credit is reserved against the credit availability under the Maximum Revolver Amount and the Credit Amount. Loans under the Revolver may be borrowed, repaid and reborrowed until August 2, 2022 (the “Maturity Date”), at which time all amounts borrowed under the Credit Facility must be repaid. Other Terms of Credit Facility At the option of the Company, U.S. loans accrue interest at a per annum rate based on (i) the U.S. base rate plus a margin ranging from 3.75% to 4.50% depending on the leverage ratio or (ii) the U.S. LIBOR rate determined in accordance with the Credit Facility (based on 1, 2, 3 or 6-month interest periods) plus a margin ranging from 4.75% to 5.50% depending on the leverage ratio. The U.S. base rate is a rate equal to the highest of (i) the federal funds rate plus a margin equal to 0.5% , the U.S. LIBOR rate for a 1-month interest period plus 1.0% , and (ii) Wells Fargo Capital Finance’s prime rate. At the option of the Company, the Canadian loans accrue interest at a per annum rate based on (i) the Canadian prime rate or the U.S. base rate plus a margin ranging from 3.75% to 4.50% depending on the leverage ratio or (ii) the U.S. LIBOR rate determined in accordance with the Credit Facility (based on 1, 2, 3 or 6-month interest periods) (or the Canadian Bankers' Acceptance ("Canadian BA") rate determined in accordance with the Credit Facility for obligations in Canadian dollars) plus a margin ranging from 4.75% to 5.50% depending on the leverage ratio. Accrued interest on the loans will be paid monthly, or, with respect to loans that are accruing interest based on the U.S. LIBOR rate or Canadian BA rate, at the end of the applicable U.S. LIBOR or Canadian BA interest rate period. Lenders are entitled to a premium (the “Prepayment Premium”) in the event of certain prepayments of the loans in an amount equal to (i) August 2, 2017 to August 1, 2018, 2.0% times the sum of (a) the Maximum Revolver Amount plus (b) the outstanding principal amount of the Term Loans and DDTL on the date immediately prior to the date of the prepayment (such sum, the “Prepayment Amount”) (ii) from August 2, 2018 to August 1, 2019, 1.0% times the Prepayment Amount and (iii) from August 2, 2019 to the Maturity Date, 0.0% times the Prepayment Amount. The Company may also be subject to prepayment fees in the case of commitment reductions of the Revolver and also may be obligated to prepay loans upon the occurrence of certain events. The Company is also obligated to pay other customary servicing fees, letter of credit fees and unused credit facility fees. The Credit Facility contains customary affirmative and negative covenants. The negative covenants limit the ability of the Company and its subsidiaries to, among other things (in each case subject to customary exceptions for a credit facility of this size and type): • Incur additional indebtedness or guarantee indebtedness of others; • Create liens on their assets; • Make investments, including certain acquisitions; • Enter into mergers or consolidations; • Dispose of assets; • Pay dividends and make other distributions on the Company’s capital stock, and redeem and repurchase the Company’s capital stock; • Enter into transactions with affiliates; and • Prepay indebtedness or make changes to certain agreements. There are certain financial covenants that became more restrictive starting March 31, 2018. If an event of default occurs, at the election of the Lenders, a default interest rate shall apply on all obligations during an event of default, at a rate per annum equal to 2.00% above the applicable interest rate. The Credit Facility permits the Company's to buyback up to $10.0 million of its capital stock, subject to restrictions including a minimum liquidity requirement of $25.0 million before and after any such buyback. Interest Rate and Debt Discount Cash interest costs averaged 6.6% and 5.7% under the Credit Facility for the three months ended September 30, 2017 and for the year ended December 31, 2016 , respectively. In addition, the Company has $2.7 million of unamortized debt discount associated with the Credit Facility as of September 30, 2017 . These debt discount costs will be amortized to non-cash interest expense over the term of the Credit Facility. Debt Maturities Under the terms of the Fifth Amendment, f uture debt maturities of long-term debt (excluding financing costs) at September 30, 2017 are as follows (in thousands): Year ending December 31: Remaining 2017 $ 594 2018 2,375 2019 3,563 2020 4,750 2021 4,750 Thereafter 78,374 $ 94,406 |