XML 16 R6.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Cash flows from operating activities    
Net income (loss) $ 27,398 $ (32,645)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation and amortization 11,371 10,931
Non-cash lease expense 2,903 3,042
Loss on sale of fixed assets 78 206
Amortization of debt discount and debt issuance costs 793 1,819
Deferred income taxes 43 (255)
Stock-based compensation expense 527 428
Non-cash interest expense 4,768 2,758
Bad debt expense 1 57
Change in fair value of embedded derivative liability (1,407) (661)
Change in fair value of warrant liabilities (2,243) (5,534)
Change in fair value of contingent consideration   296
(Gain) loss on extinguishment of debt (10,953) 10,010
Changes in assets and liabilities    
Accounts receivable - trade (14,162) (4,705)
Alternative fuels tax credit receivable 742 1,460
Due from related party 30  
Other assets (2,502) (2,303)
Accounts payable (721) (7,048)
Accrued expenses and other current liabilities (2,924) 3,534
Accrued interest - related party 357 844
Operating lease liabilities (4,092) (3,253)
Net cash provided by (used in) operating activities 10,007 (21,019)
Cash flows from investing activities    
Purchases of equipment (7,132) (61)
Proceeds from sale of assets 315 430
Net cash provided by (used in) investing activities (6,817) 369
Cash flows from financing activities    
Proceeds from sale of common stock, preferred stock and warrants   6,150
Proceeds from issuance of debt 5,749 10,000
Payments of principal on debt (4,306) (4,430)
Proceeds from issuance of debt - related party   6,150
Payments of principal on debt - related party (18,513) (266)
Payment of prepayment penalty fees - related party (777)  
Advances from factoring arrangements 147,233 132,294
Payments on factoring arrangements (149,451) (122,461)
Debt issuance costs   (296)
Payments on finance lease liabilities (3,056) (2,487)
Net cash provided by (used in) financing activities (23,121) 24,654
Net increase in cash (19,931) (17,384)
Cash - beginning of year 26,644 3,274
Cash - end of year 6,713 (14)
Supplemental disclosure of cash flow information:    
Income tax paid 783 1
Interest paid 471 3,046
Supplemental schedule of non-cash investing and financing activities:    
Right-of-use assets obtained in exchange for finance lease liabilities 1,636 18,490
Right-of-use assets obtained in exchange for operating lease liabilities 1,507 3,379
Fair value of warrants and common stock issued in connection with financing arrangements $ 2,208  
Held-for-sale assets sold for noncash consideration   $ 450