XML 18 R8.htm IDEA: XBRL DOCUMENT v3.23.2
CONSOLIDATED AND CONDENSED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities:    
Net income (loss) $ (4,005) $ 18,084
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 25,448 29,286
Amortization of deferred debt issuance costs 2,435 1,568
Amortization of debt discount 1,000 0
Deferred income tax expense 1,867 2,304
Gain on sale of property, plant and equipment, net (285) (260)
Loss on extinguishment of debt 5,121 0
Derivative income 0 (734)
Net cash paid for commodity derivatives 0 85
Non cash unit-based compensation 90 79
Change in current assets and liabilities, excluding effects of acquisitions and dispositions:    
Accounts and other receivables 22,619 10,714
Inventories 58,933 (55,725)
Due from affiliates 5,654 (2,149)
Other current assets 5,296 (17,741)
Trade and other accounts payable (19,459) 37,688
Product exchange payables 278 (869)
Due to affiliates (6,641) 7,940
Income taxes payable (215) 368
Other accrued liabilities 1,907 (2,332)
Change in other non-current assets and liabilities (1,269) 145
Net cash provided by operating activities 98,774 28,451
Cash flows from investing activities:    
Payments for property, plant and equipment (17,024) (14,634)
Payments for plant turnaround costs (661) (1,600)
Proceeds from sale of property, plant and equipment 4,275 689
Net cash used in investing activities (13,410) (15,545)
Cash flows from financing activities:    
Payments of long-term debt (519,197) (217,589)
Payments under finance lease obligations (9) (119)
Proceeds from long-term debt 448,489 206,500
Payment of debt issuance costs (14,238) (26)
Excess purchase price over carrying value of acquired assets 0 (1,285)
Cash distributions paid (397) (396)
Net cash used in financing activities (85,352) (12,915)
Net increase (decrease) in cash 12 (9)
Cash at beginning of period 45 52
Cash at end of period 57 43
Non-cash additions to property, plant and equipment $ 1,679 $ 1,705