XML 21 R8.htm IDEA: XBRL DOCUMENT v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2020
Mar. 31, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Dec. 31, 2019
Cash flows from operating activities:            
Net (loss) income $ (15,205)   $ (10,889) $ (99,176) $ 17,444  
Adjustments to reconcile net (loss) income to cash provided by (used in) operating activities:            
Stock based compensation       1,246 2,233  
Depreciation, depletion, accretion and amortization       49,998 58,721  
Amortization of coil tubing strings       359 1,003  
Amortization of debt origination costs       577 163  
Bad debt expense       1,679 266  
(Gain) loss on disposal of property and equipment       (1,451) 176  
Impairment of goodwill 0 $ 55,000 0 54,973 0 $ 33,664
Impairment of other long-lived assets       12,897 0  
Deferred income taxes       931 (22,911)  
Other       623 (199)  
Changes in assets and liabilities:            
Accounts receivable, net       7,782 (48,530)  
Receivables from related parties       (19,793) (26,236)  
Inventories       4,651 (1,815)  
Prepaid expenses and other assets       6,079 1,115  
Accounts payable       (7,514) 7,366  
Payables to related parties       (512) 650  
Accrued expenses and other liabilities       (2,818) (17,129)  
Income taxes payable       (3,697) (74,172)  
Net cash provided by (used in) operating activities       6,834 (101,855)  
Cash flows from investing activities:            
Purchases of property and equipment       (4,348) (30,085)  
Purchases of property and equipment from related parties       (76) (135)  
Contributions to equity investee       0 (680)  
Proceeds from disposal of property and equipment       2,544 2,465  
Net cash used in investing activities       (1,880) (28,435)  
Cash flows from financing activities:            
Borrowings from lines of credit       22,800 108,000  
Repayments of lines of credit       (13,550) (25,964)  
Principal payments on financing leases and equipment financing notes       (914) (992)  
Dividends paid       0 (11,219)  
Debt issuance costs       (1,000) 0  
Net cash provided by financing activities       7,336 69,825  
Effect of foreign exchange rate on cash       (137) 85  
Net change in cash and cash equivalents       12,153 (60,380)  
Cash and cash equivalents at beginning of period   $ 5,872   5,872 67,625 67,625
Cash and cash equivalents at end of period $ 18,025   $ 7,245 18,025 7,245 $ 5,872
Supplemental disclosure of cash flow information:            
Cash paid for interest       2,683 1,830  
Cash (received) paid for income taxes       (6) 116,442  
Supplemental disclosure of non-cash transactions:            
Purchases of property and equipment included in accounts payable and accrued expenses       $ 2,780 $ 2,339