XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities    
Net loss $ (42,421,000) $ (2,347,000)
Income from discontinued operations, net of tax 19,882,000 11,915,000
Loss from continuing operations (62,303,000) (14,262,000)
  Adjustments to reconcile net loss from continuing operations to cash provided by (used in) operating activities, net of acquisitions    
Stock based compensation expense 952,000 613,000
Depreciation and amortization 11,800,000 4,263,000
Gain on forgiveness of debt 0 (4,222,000)
(Gain) loss on sale of assets (112,000) 2,000
Provision for environment clean up 1,428,000 0
Increase in allowance for bad debt 157,000 717,000
Increase in fair value of derivative warrant liability (7,788,000) 11,380,000
Loss on commodity derivative contracts 87,218,000 2,205,000
Net cash settlements on commodity derivatives (100,253,000) (1,999,000)
Amortization of debt discount and deferred costs 44,537,000 38,000
Changes in operating assets and liabilities, net of acquisition    
Accounts receivable and other receivables (37,157,000) (6,123,000)
Inventory (31,521,000) (3,716,000)
Prepaid expenses and other current assets (16,433,000) (2,366,000)
Accounts payable 58,925,000 1,945,000
Accrued expenses 37,658,000 2,450,000
Other assets 54,000 (648,000)
Net cash used in operating activities from continuing operations (12,838,000) (9,723,000)
Cash flows from investing activities    
Acquisition of business, net of cash (227,525,000) 2,000
Software purchase (106,000) 0
Purchase of fixed assets (34,744,000) (2,313,000)
Investment in Mobile Refinery assets 0 (10,241,000)
Proceeds from sale of fixed assets 188,000 75,000
Net cash used in investing activities from continuing operations (262,187,000) (12,477,000)
Cash flows from financing activities    
Payments on finance leases (201,000) (409,000)
Proceeds from exercise of options and warrants to common stock 729,000 6,493,000
Distributions to noncontrolling interest (380,000) (169,000)
Net borrowings on inventory financing agreements 133,744,000 0
Net change in line of credit 0 (166,000)
Redemption of noncontrolling interest (50,666,000) 0
Proceeds from note payable 173,315,000 10,078,000
Payments on note payable (14,101,000) (3,779,000)
Net cash provided by financing activities from continuing operations 242,440,000 12,050,000
Net cash provided by operating activities 20,199,000 13,043,000
Discontinued operations:    
Net cash provided by operating activities 20,199,000 13,043,000
Net cash used in investing activities (1,848,000) (1,675,000)
Net cash provided by discontinued operations 18,351,000 11,368,000
Net change in cash, cash equivalents and restricted cash (14,234,000) 1,218,000
Cash, cash equivalents, and restricted cash at beginning of the period 136,627,000 10,995,000
Cash, cash equivalents, and restricted cash at end of period 122,393,000 12,213,000
Cash and cash equivalents 117,464,000 12,113,000
Restricted cash 4,929,000 100,000
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Total 122,393,000 12,213,000
SUPPLEMENTAL INFORMATION    
Cash paid for interest 20,191,000 844,000
Cash paid for taxes 0 0
NON-CASH INVESTING AND FINANCING TRANSACTIONS    
Equity component of the convertible note issuance 78,789,000 0
Exchanges of Series B Preferred Stock into common stock 0 4,747,000
Accretion of discount on Series B and B1 Preferred Stock 0 507,000
Dividends-in-kind accrued on Series B and B1 Preferred Stock 0 (258,000)
Conversion of Convertible Senior Notes to common stock 59,822,000 0
Equipment acquired (disposed) under leases 45,096,000 174,000
Accretion of redeemable noncontrolling interest to redemption value 428,000 1,177,000
Series B Preferred Stock    
NON-CASH INVESTING AND FINANCING TRANSACTIONS    
Conversion of Series A, B and B1 Preferred Stock into Common Stock 0 8,447,000
Series B1 Preferred Stock    
NON-CASH INVESTING AND FINANCING TRANSACTIONS    
Conversion of Series A, B and B1 Preferred Stock into Common Stock $ 0 $ 12,046,000