XML 21 R6.htm IDEA: XBRL DOCUMENT v3.21.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Cash (used in) provided by operating activities    
Net income (loss) $ (22,982) $ 8,248
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:    
Amortization of intangible assets 3,053 3,638
Depreciation 5,147 5,161
Change in value and exercise of warrants 0 1,352
Stock-based compensation expense 607 1,248
Amortization of financing fees 1,594 698
Deferred income taxes (1,452) 457
Loss on debt extinguishment and modifications 497 0
Other adjustments, net (209) 277
Changes in operating assets and liabilities:    
Accounts receivable, net 44,611 (18,095)
Inventory, net (382) (3,977)
Prepaid expenses and other assets 3,958 17,125
Accounts payable (44,161) (9,494)
Accrued expenses 11,106 13,948
Other noncurrent liabilities (8,981) (2,429)
Net cash (used in) provided by operating activities (7,594) 18,157
Cash used in investing activities    
Capital expenditures (2,402) (3,681)
Proceeds from corporate-owned life insurance 930 0
Other investing activities, net 60 23
Net cash used in investing activities (1,412) (3,658)
Cash provided by (used in) financing activities    
Repayments of long-term debt and lease liabilities (55,290) (194)
Payments of deferred financing costs (1,970) (650)
Proceeds from revolving line of credit 180,298 544,146
Repayments of revolving line of credit (89,826) (559,232)
Proceeds from Weichai Warrant exercise 0 1,616
Other financing activities, net 58 (236)
Net cash provided by (used in) financing activities 33,270 (14,550)
Net increase (decrease) in cash, cash equivalents, and restricted cash 24,264 (51)
Cash, cash equivalents, and restricted cash at beginning of the year 3 54
Cash, cash equivalents, and restricted cash at end of the year 24,267 3
Reconciliation of cash, cash equivalents, and restricted cash to the Consolidated Balance Sheets    
Total cash, cash equivalents, and restricted cash $ 24,267 $ 54