XML 18 R8.htm IDEA: XBRL DOCUMENT v3.21.2
UNAUDITED CONDENSED CONSOLIDATED STATEMENT OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net loss $ (9,096) $ (20,565)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 22,600 23,145
Stock-based compensation 1,082 1,600
Amortization of deferred financing costs 1,266 1,163
Interest income on interest rate swap 0 (713)
Deferred income taxes 2,042 (5,668)
Provision (benefit) for bad debts 190 (81)
Loss on sales of property and equipment 56 126
Changes in operating assets and liabilities:    
Accounts receivable 27,078 24,901
Inventories (506) (3,957)
Prepaid expenses and other current assets (3,804) (5,942)
Accounts payable (6,243) 83
Accrued expenses and other liabilities (3,848) (4,545)
Income taxes payable 240 1,669
Other assets and liabilities (181) (2,061)
Net cash provided by operating activities 30,876 9,155
Cash flows from investing activities:    
Capital expenditures (1,304) (905)
Net cash used in investing activities (1,304) (905)
Cash flows from financing activities:    
Repayment of long-term debt (10,729) (2,683)
Payment for redemption of convertible preferred stock (5,330) 0
Payment of preferred dividends (6,065) 0
Proceeds from long-term debt 0 1,395
Proceeds from issuance of stock under employee stock purchase plan 163 197
Net cash used in financing activities (21,961) (1,091)
Effect of exchange rate changes on cash and cash equivalents and restricted cash (947) (1,357)
Net increase in cash and cash equivalents 6,664 5,802
Cash and cash equivalents, beginning of period 50,030 29,817
Cash and cash equivalents, end of period 56,694 35,619
Cash paid for:    
Cash paid for interest 9,899 12,726
Cash paid for income taxes 2,196 2,345
Supplemental schedule of non-cash investing and financing activities:    
Accrued purchases of property and equipment $ 105 $ 419