Quarterly report pursuant to Section 13 or 15(d)

CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited)

v3.23.2
CONDENSED CONSOLIDATED 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) $ 3,881 $ (13,114)
Adjustments to reconcile net income (loss) to cash used in operating activities:    
Stock based compensation 908 441
Depreciation, depletion, accretion and amortization 25,606 34,643
Amortization of debt origination costs 377 375
Bad debt recoveries (425) (115)
Gains on disposal of assets (834) (3,139)
Gains from sales of equipment damaged or lost down-hole (46) (511)
Deferred income taxes (46) 6,612
Other 387 449
Changes in assets and liabilities:    
Accounts receivable, net 7,862 (22,480)
Receivables from related parties, net 18 (105)
Inventories (1,306) 366
Prepaid expenses and other assets 5,162 4,567
Accounts payable 466 (2,132)
Accrued expenses and other liabilities (13,924) (7,407)
Income taxes payable 4,523 912
Net cash provided by (used in) operating activities 32,609 (638)
Cash flows from investing activities:    
Purchases of property and equipment (10,539) (3,968)
Proceeds from disposal of property and equipment 806 7,447
Net cash (used in) provided by investing activities (9,733) 3,479
Cash flows from financing activities:    
Borrowings on long-term debt 118,900 83,000
Repayments of long-term debt (143,064) (84,241)
Proceeds from sale leaseback transaction 0 4,589
Payments on sale leaseback transaction (2,449) (2,094)
Principal payments on financing leases and equipment financing notes (3,791) (1,197)
Other (919) 0
Net cash (used in) provided by financing activities (31,323) 57
Effect of foreign exchange rate on cash 15 (68)
Net change in cash and cash equivalents (8,432) 2,830
Cash and cash equivalents at beginning of period 17,282 9,899
Cash and cash equivalents at end of period 8,850 12,729
Supplemental disclosure of cash flow information:    
Cash paid for interest 6,321 3,792
Cash paid for income taxes, net of refunds received 752 98
Supplemental disclosure of non-cash transactions:    
Purchases of property and equipment included in accounts payable and accrued expenses 6,732 4,733
Right-of-use assets obtained for financing lease liabilities $ 306 $ 0