XML 26 R7.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Operating activities:      
Net income $ 37,954 $ 31,623 $ 20,101
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation, depletion and accretion of asset retirement obligation 22,130 26,425 17,159
Impairment loss 5,115 15,542 17,835
Amortization of intangible assets 793 1,394 1,002
Asset retirement obligation settlement 0 (2,753) (3,180)
Loss (gain) on disposal of assets 237 (42) 321
Loss on extinguishment of debt 0 561 0
Provision for bad debt 0 0 42
Amortization of deferred financing cost 105 212 300
Accretion of debt discount 185 649 246
Deferred income taxes (2,573) 6,123 5,046
Stock-based compensation 3,831 2,909 2,937
Employee stock purchase plan compensation 34 41 72
Change in contingent consideration fair value (1,410) (3,272) (1,858)
Gain on bargain purchase 39,291 0 0
Changes in assets and liabilities:      
Accounts receivable (10,719) (41,063) 4,457
Unbilled receivables 4,638 3,058 (6,631)
Inventories 4,738 (1,021) (7,343)
Prepaid expenses and other assets (5,327) 1,879 (3,561)
Deferred revenue 1,032 5,229 4,095
Accounts payable (370) (4,680) (2,271)
Accrued and other expenses 4,981 1,277 2,140
Income taxes payable (542) 542 0
Net cash provided by operating activities 25,541 44,632 50,909
Investing activities:      
Acquisition of businesses, net of cash acquired 0 0 (29,921)
Purchases of property, plant and equipment (8,620) (25,525) (96,090)
Proceeds from disposal of assets 61 100 22
Net cash used in investing activities (8,559) (25,425) (125,989)
Financing activities:      
Proceeds from the issuance of notes payable 952 31,202 0
Repayments of notes payable (4,802) (2,808) (559)
Payments under equipment financing obligations (123) (103) (168)
Payment of deferred financing and debt issuance costs (20) (2,262) (233)
Proceeds from revolving credit facility 6,000 52,750 84,000
Repayment of revolving credit facility (8,500) (94,750) (39,500)
Payment of contingent consideration (310) (1,995) (175)
Proceeds from equity issuance 62 71 127
Purchase of treasury stock (1,155) (140) (2,173)
Net cash (used in) provided by financing activities (7,896) (18,035) 41,319
Net increase (decrease) in cash and cash equivalents 9,086 1,173 (33,761)
Cash and cash equivalents at beginning of year 2,639 1,466 35,227
Cash and cash equivalents at end of year $ 11,725 $ 2,639 $ 1,466