XML 18 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Operating activities:    
Net income (loss) $ 10,648 $ (2,062)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation, depletion and accretion of asset retirement obligation 5,210 4,893
Loss (gain) on disposal of assets 187 (59)
Loss on derivatives   5
Bad debt expense   189
Amortization of deferred financing cost 339 117
Accretion of debt discount   232
Deferred income taxes (benefit) 3,804 (4,708)
Stock-based compensation, net 1,378 720
Employee stock purchase plan compensation 19  
Non-cash interest expense on Series A preferred stock   4,936
Changes in assets and liabilities:    
Accounts receivable (15,148) (903)
Unbilled receivables (639) 3,909
Inventories 5,834 (963)
Prepaid expenses and other assets (1,222) 242
Deferred revenue (1,615) (1,929)
Accounts payable 4,561 (368)
Accrued and other expenses 2,261 280
Income taxes payable (7,058) 3,568
Net cash provided by operating activities 8,559 8,099
Investing activities:    
Purchases of property, plant and equipment (27,582) (2,058)
Proceeds from disposal of assets 14 108
Net cash used in investing activities (27,568) (1,950)
Financing activities:    
Repayments of notes payable (282) (1,259)
Payments under equipment financing obligations (276) (299)
Payment of deferred financing costs (193) 2
Proceeds from equity issuance 26,251  
Payment of equity transaction costs (2,083)  
Repayment of revolving credit facility   (7,716)
Cash dividend on Series A preferred stock   (3)
Purchase of treasury stock (127) (57)
Net cash provided by (used in) financing activities 23,290 (9,332)
Net increase (decrease) in cash, cash equivalents and restricted cash 4,281 (3,183)
Cash and cash equivalents and restricted cash at beginning of year 47,534 3,896
Cash and cash equivalents and restricted cash at end of period 51,815 713
Supplemental disclosure of cash flow information    
Cash paid for interest 145 2,344
Cash paid for taxes 7,657 218
Non-cash financing activities:    
Write-off of remaining balance of returned equipment under capital lease 194  
Capitalized expenditures in accounts payable and accrued expenses $ 11,924 $ 254