XML 15 R4.htm IDEA: XBRL DOCUMENT v3.23.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities:    
Net income $ 6,610 $ 11,278
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization 3,629 11,604
Gain associated with derivative instruments (2,905) (6,896)
Settlement of derivative contracts 611 (608)
Unit based compensation expense 1,912 2,520
Gain on sale of business (6,202) 0
Loss associated with disposal of assets 0 3
Deferred income taxes 1 (114)
Amortization of deferred financing costs 658 628
Changes in operating assets and liabilities:    
Prepaid expenses, inventory and other assets 1,032 (2,727)
Net cash provided by (used in) operating activities (1,888) 15,448
Cash flows from investing activities:    
Additions of property and equipment (375) (288)
Internal-use software development costs 55 0
Net proceeds from the sale of business 32,650 0
Acquisition of Hardisty South entities from Sponsor 0 (75,000)
Net cash provided by (used in) investing activities 32,220 (75,288)
Cash flows from financing activities:    
Distributions (2,154) (7,154)
Payments for deferred financing costs (203) (13)
Vested phantom units used for payment of participant taxes (671) (1,091)
Proceeds from long-term debt 0 75,000
Repayments of long-term debt (19,100) (12,396)
Net cash provided by (used in) financing activities (22,128) 54,346
Effect of exchange rates on cash 90 1,057
Net change in cash, cash equivalents and restricted cash 8,294 (4,437)
Cash, cash equivalents and restricted cash — beginning of period 5,780 12,717
Cash, cash equivalents and restricted cash — end of period 14,074 8,280
Related party    
Changes in operating assets and liabilities:    
Accounts receivable 91 1,717
Accounts payable and accrued expenses (526) (1,038)
Deferred revenue and other liabilities 49 366
Nonrelated Party    
Changes in operating assets and liabilities:    
Accounts receivable (4) 398
Accounts payable and accrued expenses (97) 3,361
Deferred revenue and other liabilities $ (6,747) $ (5,044)