v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities:    
Net income (loss) $ 2,117 $ (101)
Reconciliations of net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 2,278 1,927
Losses (gains) recognized on investments 38 (76)
Share-based compensation 2,583 1,772
Changes in certain operating assets and liabilities:    
Trade accounts receivable (15,896) (20,657)
Income taxes receivable (643)  
Prepaid expenses and other (4,100) (4,683)
Accounts payable (1,215) 1
Accrued payroll, payroll taxes and related benefits 4,533 13,872
Other accrued liabilities (80) 217
Income taxes payable   (2,867)
Workers' compensation claims liabilities 27,341 23,676
Safety incentives liability (468) 1,249
Customer deposits, long-term liabilities and other assets, net (27) (180)
Net cash provided by operating activities 16,461 14,150
Cash flows from investing activities:    
Purchase of property and equipment (3,517) (2,289)
Purchase of investments (1,401) (2,240)
Proceeds from sales and maturities of investments 1,369 7,002
Purchase of restricted investments (103,388) (253,187)
Proceeds from sales and maturities of restricted investments 32,749 12,023
Net cash used in investing activities (74,188) (238,691)
Cash flows from financing activities:    
Proceeds from credit-line borrowings 8,500 24,899
Payments on credit-line borrowings (8,500) (24,899)
Payments on long-term debt (110) (129)
Common stock repurchased on vesting of restricted stock units (168) (134)
Dividends paid (3,653) (3,625)
Proceeds from exercise of stock options and vesting of restricted stock units 101 145
Net cash used in financing activities (3,830) (3,743)
Net decrease in cash, cash equivalents and restricted cash (61,557) (228,284)
Cash, cash equivalents and restricted cash, beginning of period 120,205 341,330
Cash, cash equivalents and restricted cash, end of period $ 58,648 $ 113,046

Source