Quarterly report pursuant to Section 13 or 15(d)

CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited)

v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities:    
Net income (loss) $ 98,246 $ (6,151)
Adjustments to reconcile net income (loss) to cash provided by operating activities:    
Equity based compensation (Note 15) 17,487 0
Stock based compensation 2,916 1,620
Depreciation, depletion, accretion and amortization 57,703 37,130
Amortization of coil tubing strings 1,120 1,046
Amortization of debt origination costs 199 199
Bad debt expense 53,790 19
(Gain) loss on disposal of property and equipment (128) 127
Gain on bargain purchase 0 (4,012)
Impairment of long-lived assets 187 0
Deferred income taxes (27,906) (6,529)
Changes in assets and liabilities, net of acquisitions of businesses:    
Accounts receivable, net (122,908) (4,793)
Receivables from related parties 3,114 (12,995)
Inventories 4,156 (4,932)
Prepaid expenses and other assets (1,195) 1,528
Accounts payable 34,186 20,557
Payables to related parties 538 (83)
Accrued expenses and other liabilities 10,193 1,301
Income taxes payable 94,753 (28)
Net cash provided by operating activities 226,451 24,004
Cash flows from investing activities:    
Purchases of property and equipment (105,349) (66,575)
Purchases of property and equipment from related parties (3,436) 0
Business acquisitions (13,356) (39,570)
Proceeds from disposal of property and equipment 898 781
Business combination cash acquired (Note 4) 0 2,671
Net cash used in investing activities (121,243) (102,693)
Cash flows from financing activities:    
Borrowings from lines of credit 52,000 79,150
Repayments of lines of credit (151,900) (14,150)
Repayments of equipment financing note (145) 0
Repayment of Stingray acquisition long-term debt 0 (7,074)
Net cash (used in) provided by financing activities (100,045) 57,926
Effect of foreign exchange rate on cash (98) 73
Net change in cash and cash equivalents 5,065 (20,690)
Cash and cash equivalents at beginning of period 5,637 29,239
Cash and cash equivalents at end of period 10,702 8,549
Supplemental disclosure of cash flow information:    
Cash paid for interest 2,543 1,086
Cash paid for income taxes 32,584 912
Supplemental disclosure of non-cash transactions:    
Purchases of property and equipment included in accounts payable and accrued expenses 20,897 7,836
Acquisition of Sturgeon, Stingray Cementing LLC and Stingray Energy Services LLC (Note 4) $ 0 $ 23,091