XML 30 R8.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities      
Net income (loss) $ 1,997,000 $ (7,661,000) $ (11,396,000)
Net income from discontinued operations, net of tax 18,667,000 17,178,000 1,578,000
Net loss from continuing operations (16,670,000) (24,839,000) (12,974,000)
Adjustments to reconcile net income (loss) from continuing operations to cash used in operating activities:      
Stock-based compensation expense 1,574,000 862,000 656,000
Depreciation and amortization 17,102,000 5,724,000 5,312,000
Provision for bad debt 242,000 826,000 239,000
Loss (gain) on commodity derivative contracts 87,978,000 2,258,000 (3,477,000)
Provision for environment clean up 1,428,000 0
Gain on forgiveness of debt 0 (4,222,000) 0
Net cash settlement on commodity derivatives (92,556,000) (2,436,000) 4,253,000
Loss on sale of assets 220,000 64,000 125,000
Loss on assets impairment 0 2,124,000 0
Amortization of debt discount and deferred costs 49,251,000 1,231,000 48,000
Deferred income tax benefit (7,171,000) 0 0
Loss (gain) on change in value of derivative warrant liability (7,821,000) 15,685,000 (1,639,000)
Changes in operating assets and liabilities, net of acquisitions:      
Accounts receivable (27,183,000) (821,000) 1,984,000
Inventory 2,586,000 (3,997,000) 2,705,000
Prepaid expenses (26,724,000) (1,615,000) 53,000
Accounts payable 10,850,000 1,054,000 2,884,000
Accrued expenses 77,647,000 2,551,000 (2,992,000)
Other assets 56,000 (48,000) (868,000)
Net cash provided by (used in) operating activities from continuing operations 70,809,000 (5,599,000) (3,691,000)
Cash flows from investing activities      
Internally developed or purchased software (149,000) 0 (50,000)
Deposit for refinery purchase and related costs 0 (13,663,000) 0
Redemption of noncontrolling entity 556,000 0 0
Proceeds from the sale of assets 395,000 75,000 75,000
Acquisition of business, net of cash (227,525,000) 2,000 (1,822,000)
Purchase of fixed assets (75,512,000) (2,331,000) (5,550,000)
Net cash used in investing activities from continuing operations (302,235,000) (15,917,000) (7,347,000)
Cash flows from financing activities      
Line of credit payments, net 0 (133,000) (3,143,000)
Proceeds received from exercise options and warrants 730,000 6,921,000 0
Net borrowings on inventory financing agreements 117,189,000 0 0
Contribution received from stockholder 0 2,000 0
Distribution to non-controlling interest (380,000) (169,000) 0
Contribution received from redeemable noncontrolling interest 0 0 21,000,000
Redemption of redeemable noncontrolling interest (50,666,000) 0 0
Payments on finance leases (819,000) (844,000) (403,000)
Proceeds from issuance of notes payable 173,256,000 143,831,000 8,217,000
Payments made on notes payable (18,948,000) (15,836,000) (10,367,000)
Net cash provided by financing activities from continuing operations 220,362,000 133,772,000 15,304,000
Discontinued operations:      
Net cash provided by operating activities 25,287,000 15,349,000 3,675,000
Net cash used in investing activities (4,663,000) (1,973,000) (1,146,000)
Net cash used in financing activities 0 0 0
Net cash provided by discontinued operations 20,624,000 13,376,000 2,529,000
Net change in cash and cash equivalents and restricted cash 9,560,000 125,632,000 6,795,000
Cash and cash equivalents and restricted cash at beginning of the year 136,627,000 10,995,000 4,200,000
Cash and cash equivalents and restricted cash at end of year 146,187,000 136,627,000 10,995,000
Cash and cash equivalents 141,258,000 36,130,000 10,895,000
Restricted cash 4,929,000 100,497,000 100,000
Cash and cash equivalents and restricted cash as shown in the consolidated statements of cash flows 146,187,000 136,627,000 10,995,000
SUPPLEMENTAL INFORMATION      
Cash paid for interest 33,901,000 2,273,000 1,051,000
Cash paid for income taxes 0 0 0
NON-CASH INVESTING AND FINANCING TRANSACTIONS      
Dividends on Series B and B-1 Preferred Stock 0 (258,000) 1,903,000
Initial carrying amount of non-controlling interest 0 0 9,091,000
Accretion of discount on Series B and B-1 Preferred Stock 0 507,000 1,688,000
Accretion of redeemable noncontrolling interest to redemption value 428,000 1,992,000 15,135,000
Equipment acquired under capital leases standard 46,351,000 552,000 1,018,000
Equipment acquired under operating leases standard 20,452,000 89,000 0
Reclass derivative liabilities 78,789,000 0 0
Conversion of Senior note 59,822,000 0 0
Series B and B-1 Preferred Stock      
NON-CASH INVESTING AND FINANCING TRANSACTIONS      
Conversion of Series B and B1 Preferred Stock into common stock $ 0 $ 24,610,000 $ 3,368,000