XML 40 R8.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities      
Net loss $ (7,661,177) $ (11,396,175) $ (5,485,553)
Net income (loss) from discontinued operations, net of tax   (5,352,285) 409,983
Net loss from continuing operations (30,404,559) (6,043,890) (5,895,536)
Adjustments to reconcile net loss from continuing operations to cash used in operating activities:      
Stock-based compensation expense 862,564 656,111 642,840
Depreciation and amortization 594,092 529,931 461,110
Provision (recovery) for bad debt 646,910 12,176 (267,876)
Loss (Gain) on commodity derivative contracts 2,257,592 (3,476,593) 2,458,359
Gain on forgiveness of debt (4,222,000) 0 0
Net cash settlement on commodity derivatives (2,436,055) 4,253,198 (2,841,052)
Loss on sale of assets 64,278 124,515 74,111
Loss on assets impairment 2,123,703 0 0
Amortization of debt discount and deferred costs 1,231,492 47,826 573,908
Loss (Gain) on change in value of derivative warrant liability 15,685,355 (1,638,804) 487,524
Reduction in contingent consideration 0 0 (15,564)
Changes in operating assets and liabilities, net of acquisitions:      
Accounts receivable (677,786) (1,384,179) 243,947
Inventory (2,245,732) 389,010 567,800
Prepaid expenses (1,702,576) (19,276) (422,289)
Accounts payable 835,914 1,651,015 (166,121)
Accrued expenses 1,967,172 (407,150) 470,252
Other assets (100,000) (644,060) (222,995)
Net cash used in operating activities from continuing operations (15,519,636) (5,950,170) (3,851,582)
Cash flows from investing activities      
Internally developed software 0 (49,229) (489,093)
Deposit for refinery purchase and related costs (13,662,910) 0 0
Proceeds from the sale of assets 75,168 74,965 232,020
Acquisition of business, net of cash 2,058 (1,822,690) 0
Purchase of fixed assets (1,144,787) (937,276) (214,945)
Net cash used in investing activities from continuing operations (14,730,471) (2,734,230) (472,018)
Cash flows from financing activities      
Line of credit payments, net (133,446) (3,142,784) (568,406)
Proceeds received from exercise options and warrants 6,921,846 0 7,075
Proceeds received from issuance of common stock options and warrants 0 0 2,216,711
Contribution received from shareholder 2,260 0 0
Distribution to non-controlling interest (169,368) 0 (285,534)
Capital contribution from non-controlling interest 0 21,000,000 3,150,000
Payments on finance leases (586,612) (226,431) (79,790)
Payment of debt issuance costs 0 0 0
Proceeds from issuance of notes payable 143,830,975 8,217,195 2,809,139
Payments made on notes payable (15,835,707) (10,366,701) (4,660,120)
Net cash provided by financing activities from continuing operations 134,029,948 15,481,279 2,589,075
Discontinued operations:      
Net cash provided by operating activities 25,202,336 5,227,024 6,324,749
Net cash used in investing activities (3,093,278) (5,052,429) (3,154,422)
Net cash used in financing activities (257,129) (176,130) (85,808)
Net cash provided by (used in) discontinued operations 21,851,929 (1,535) 3,084,519
Net change in cash and cash equivalents and restricted cash 125,631,770 6,795,344 1,349,994
Cash and cash equivalents and restricted cash at beginning of the year 10,995,169 4,199,825 2,849,831
Cash and cash equivalents and restricted cash at end of year 136,626,939 10,995,169 4,199,825
SUPPLEMENTAL INFORMATION      
Cash paid for interest 2,273,304 1,050,741 2,505,852
Cash paid for income taxes 0 0 0
NON-CASH INVESTING AND FINANCING TRANSACTIONS      
Dividends on Series B and B-1 Preferred Stock (258,138) 1,903,057 1,627,956
Initial adjustment of carrying amount of non-controlling interest 0 9,091,068 970,809
Accretion of discount on Series B and B-1 Preferred Stock 507,282 1,687,850 2,489,722
Accretion of redeemable noncontrolling interest to redemption value 1,992,360 15,135,242 2,279,371
Equipment acquired under leases standard 0 1,017,638 621,000
Series B and B-1 Preferred Stock      
NON-CASH INVESTING AND FINANCING TRANSACTIONS      
Conversion of Series B and B1 Preferred Stock into common stock $ 24,610,207 $ 3,368,474 $ 2,562,015