Debt | 10. Debt Debt consists of the following amounts as of March 31, 2019 and December 31, 2018 (in thousands): March 31, 2019 December 31, 2018 Current: Note Payable—Verde Promissory Note 5,900 6,936 Total current portion of debt 5,900 6,936 Long-term debt: Senior Credit Facility (1) (2) 110,500 129,500 Subordinated Debt — 10,000 Total long-term debt 110,500 139,500 Total debt $ 116,400 $ 146,436 (1) As of March 31, 2019 and December 31, 2018 , the weighted average interest rate on the Senior Credit Facility was 5.52% and 5.48% , respectively. (2) As of March 31, 2019 and December 31, 2018 , we had $49.2 million and $49.4 million in letters of credit issued, respectively. Capitalized financing costs associated with our Senior Credit Facility were $1.3 million and $1.4 million as of March 31, 2019 and December 31, 2018 , respectively. Of these amounts, $1.1 million and $1.0 million are recorded in other current assets, and $0.2 million and $0.4 million are recorded in other non-current assets in the condensed consolidated balance sheets as of March 31, 2019 and December 31, 2018 , respectively. Interest expense consists of the following components for the periods indicated (in thousands): Three Months Ended March 31, 2019 2018 Senior Credit Facility $ 1,442 $ 1,264 Subordinated debt 4 1 Note Payable—Verde Promissory Note 141 327 Letters of credit fees and commitment fees 368 358 Amortization of deferred financing costs 268 295 Interest Expense $ 2,223 $ 2,245 Senior Credit Facility The Company, as guarantor, and Spark HoldCo (the “Borrower” and, together with each subsidiary of Spark HoldCo (“Co-Borrowers”) maintains a senior secured borrowing base credit facility (as amended, “Senior Credit Facility”) that allows us to borrow up to $217.5 million as of March 31, 2019 . Subject to applicable sublimits and terms of the Senior Credit Facility, as amended, borrowings are available for the issuance of letters of credit (“Letters of Credit”), working capital and general purpose revolving credit loans (“Working Capital Loans”), and bridge loans (“Bridge Loans”) for the purpose of partial funding for acquisitions. Borrowings under the Senior Credit Facility may be used to pay fees and expenses in connection with the Senior Credit Facility, finance ongoing working capital requirements and general corporate purpose requirements of the Co-Borrowers, to provide partial funding for acquisitions, as allowed under terms of the Senior Credit Facility, and to make open market purchases of our Class A common stock and Series A Preferred Stock. As of March 31, 2019 , we had $110.5 million outstanding under the Senior Credit Facility, as well as $49.2 million of outstanding letters of credit. The Senior Credit Facility will mature on May 19, 2020, and all amounts outstanding thereunder will be payable on the maturity date. Borrowings under the Bridge Loan sublimit, if any, will be repaid 25% per year on a quarterly basis (or 6.25% per quarter), with the remainder due at maturity. As of March 31, 2019 , there were no Bridge Loans outstanding. At our election, the interest rate for Working Capital Loans and Letters of Credit under the Senior Credit Facility is generally determined by reference to the Eurodollar rate plus an applicable margin of up to 3.00% per annum (based on the prevailing utilization) or an alternate base rate plus an applicable margin of up to 2.00% per annum (based on the prevailing utilization). The alternate base rate is equal to the highest of (i) the prime rate (as published in the Wall Street Journal), (ii) the federal funds rate plus 0.50% per annum, or (iii) the reference Eurodollar rate plus 1.00% . Bridge Loan borrowings, if any, under the Senior Credit Facility are generally determined by reference to the Eurodollar rate plus an applicable margin of 3.75% per annum or an alternate base rate plus an applicable margin of 2.75% per annum. The alternate base rate is equal to the highest of (i) the prime rate (as published in the Wall Street Journal), (ii) the federal funds rate plus 0.50% per annum, or (iii) the reference Eurodollar rate plus 1.00% . The Co-Borrowers pay a commitment fee of 0.50% quarterly in arrears on the unused portion of the Senior Credit Facility. In addition, the Co-Borrowers are subject to additional fees including an upfront fee, an annual agency fee, and letter of credit fees based on a percentage of the face amount of letters of credit payable to any syndicate member that issues a letter of credit. The Senior Credit Facility contains covenants that, among other things, require the maintenance of specified ratios or conditions including: • Minimum Fixed Charge Coverage Ratio . We must maintain a minimum fixed charge coverage ratio of not less than 1.25 to 1.00. The Fixed Charge Coverage Ratio is defined as the ratio of (a) Adjusted EBITDA to (b) the sum of consolidated (with respect to the Company and the Co-Borrowers) interest expense (other than interest paid-in-kind in respect of certain subordinated debt but including interest in respect of that certain promissory note made by CenStar in connection with the permitted acquisition from Verde Energy USA Holdings, LLC), letter of credit fees, commitment fees, acquisition earn-out payments (excluding earnout payments funded with proceeds from newly issued preferred or common equity), distributions, the aggregate amount of repurchases of our Class A common stock, Series A Preferred Stock, or commitments for such purchases, taxes and scheduled amortization payments. • Maximum Total Leverage Ratio . We must maintain a ratio of total indebtedness (excluding eligible subordinated debt and letter of credit obligations) to Adjusted EBITDA of no more than 2.50 to 1.00. • Maximum Senior Secured Leverage Ratio . We must maintain a Senior Secured Leverage Ratio of no more than 1.85 to 1.00. The Senior Secured Leverage Ratio is defined as the ratio of (a) all indebtedness of the loan parties on a consolidated basis that is secured by a lien on any property of any loan party (including the effective amount of all loans then outstanding under the Senior Credit Facility) plus 50% of the effective amount of letter of credit obligations attributable to performance standby letters of credit to (b) Adjusted EBITDA. The Senior Credit Facility contains various negative covenants that limit our ability to, among other things, incur certain additional indebtedness, grant certain liens, engage in certain asset dispositions, merge or consolidate, make certain payments, distributions, investments, acquisitions or loans, materially modify certain agreements, or enter into transactions with affiliates. The Senior Credit Facility also contains affirmative covenants that are customary for credit facilities of this type. As of March 31, 2019 , we are in compliance with our various covenants under the Senior Credit Facility. The Senior Credit Facility is secured by pledges of the equity of the portion of Spark HoldCo owned by us, the equity of Spark HoldCo’s subsidiaries, the Co-Borrowers’ present and future subsidiaries, and substantially all of the Co-Borrowers’ and their subsidiaries’ present and future property and assets, including accounts receivable, inventory and liquid investments, and control agreements relating to bank accounts. We are entitled to pay cash dividends to the holders of the Series A Preferred Stock and Class A common stock and will be entitled to repurchase up to an aggregate amount of 10,000,000 shares of our Class A common stock, and up to $92.7 million of Series A Preferred Stock through one or more normal course open market purchases through NASDAQ so long as: (a) no default exists or would result therefrom; (b) the Co-Borrowers are in pro forma compliance with all financial covenants before and after giving effect thereto; and (c) the outstanding amount of all loans and letters of credit does not exceed the borrowing base limits. The Senior Credit Facility contains certain customary representations and warranties and events of default. Events of default include, among other things, payment defaults, breaches of representations and warranties, covenant defaults, cross-defaults and cross-acceleration to certain indebtedness, certain events of bankruptcy, certain events under ERISA, material judgments in excess of $5.0 million , certain events with respect to material contracts, actual or asserted failure of any guaranty or security document supporting the Senior Credit Facility to be in full force and effect, failure of Nathan Kroeker to retain his position as President and Chief Executive Officer of the Company, and failure of W. Keith Maxwell III to retain his position as chairman of the board of directors. A default will also occur if at any time W. Keith Maxwell III ceases to, directly or indirectly, own at least 13,600,000 Class A and Class B shares on a combined basis (to be adjusted for any stock split, subdivisions or other stock reclassification or recapitalization), and a controlling percentage of the voting equity interest of the Company, and certain other changes in control. If such an event of default occurs, the lenders under the Senior Credit Facility would be entitled to take various actions, including the acceleration of amounts due under the facility and all actions permitted to be taken by a secured creditor. On January 28, 2019, the Company and Co-Borrowers exercised the accordion feature in the Senior Credit Facility, bringing total commitments under the Senior Credit Facility to $217.5 million . Subordinated Debt Facility The Company maintains a subordinated note in the principal amount of up to $25.0 million with a company owned by our Founder. The subordinated note allows us to draw advances in increments of no less than $1.0 million per advance up to the maximum principal amount of the subordinated note. The subordinated note matures in July 2020, and advances thereunder accrue interest at 5% per annum from the date of the advance. We have the right to capitalize interest payments under the subordinated note. The subordinated note is subordinated in certain respects to our Senior Credit Facility pursuant to a subordination agreement. We may pay interest and prepay principal on the subordinated note so long as we are in compliance with the covenants under our Senior Credit Facility, are not in default under the Senior Credit Facility and have minimum availability of $5.0 million under the borrowing base under the Senior Credit Facility. Payment of principal and interest under the subordinated note is accelerated upon the occurrence of certain change of control or sale transactions. As of March 31, 2019 , and December 31, 2018 , there was zero and $10.0 million outstanding, respectively, under the subordinated note. Verde Promissory Notes In connection with the acquisition of the Verde Companies in July 2017, we entered into a promissory note in the aggregate principal amount of $20.0 million (the "Verde Promissory Note"). The Verde Promissory Note required repayment in eighteen monthly installments beginning in August 2017, and accrued interest at 5% per annum from the date of issuance. The Verde Promissory Note, including principal and interest, was unsecured, but was guaranteed by us. In January 2018, in connection with the Earnout Termination Agreement (defined below), we issued to the seller of the Verde Companies an amended and restated promissory note (the “Amended and Restated Verde Promissory Note”), which amended and restated the Verde Promissory Note. The Amended and Restated Verde Promissory Note matured in January 2019, and bore interest at a rate of 9% per annum. Principal and interest were payable monthly on the first day of each month, with a portion of each payment going into an escrow account, which serves as security for certain indemnification claims and obligations under the Verde purchase agreement. As of March 31, 2019 and December 31, 2018 , there was zero and $1.0 million outstanding, respectively, under the Amended and Restated Verde Promissory Note. In January 2018, we issued a promissory note in the principal amount of $5.9 million in connection with an agreement to terminate the earnout obligations arising in connection with our acquisition of the Verde Companies (the “Verde Earnout Termination Note”). The Verde Earnout Termination Note matures on June 30, 2019 (subject to early maturity upon certain events) and bears interest at a rate of 9% per annum. We are permitted to withhold amounts otherwise due at maturity related to certain indemnifiable matters. Interest is payable monthly on the first day of each month. As of March 31, 2019 and December 31, 2018 , there was $5.9 million outstanding under the Verde Earnout Termination Note. |