v3.19.3.a.u2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Operating activities:      
Net loss $ (15,671) $ (22,935) $ (20,293)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Provision for losses on accounts receivable 1,584 6,909 10,017
Depreciation and amortization 30,722 33,863 30,098
(Gain) loss on disposal of property and equipment 449 746 (21)
Impairment of intangible assets 0 8,192 1,674
Impairment charge for sale of entity 24,571 0 0
Goodwill impairment charge 0 14,846 0
Warranty reserve 2,886 2,168 5,370
Stock-based compensation 8,352 17,051 9,445
Deferred taxes (5,364) (13,714) 4,032
Changes in operating assets and liabilities, net of assets and liabilities acquired in acquisitions:      
Accounts receivable 9,817 (5,199) (30,473)
Inventories 7,185 (7,443) 7,581
Other assets (2,486) (5,118) 5,492
Accounts payable (1,367) 4,105 (1,385)
Accrued liabilities (4,010) (2,527) 5,421
Deferred revenue 3,392 2,076 (7,232)
Net cash provided by operating activities 60,060 33,020 19,726
Investing activities:      
Acquisition of businesses, net of cash acquired 0 151 (190,888)
Acquisition of property and equipment (5,326) (7,875) (4,066)
Acquisition of intangible assets (13) (665) 0
Sales of short-term investments 0 0 34,019
Net cash used in investing activities (5,339) (8,389) (160,935)
Financing activities:      
Proceeds from stock option exercises and ESPP 3,635 11,448 3,466
Repurchase of company stock 0 (5,630) (2,268)
Taxes paid related to net share settlement of equity awards (1,689) (5,183) (7,052)
Proceeds from long-term borrowings 0 0 60,000
Deferred debt issuance costs 0 0 (354)
Contingent consideration earn-out 0 (147) (2,966)
Payments on borrowings (50,000) (50,000) (45,000)
Net cash provided by (used in) financing activities (48,532) (49,512) 5,826
Exchange rate effect on cash and cash equivalents 735 (7,696) 10,782
Net increase (decrease) in cash and cash equivalents 6,924 (32,577) (124,601)
Cash and cash equivalents, beginning of year 56,373 88,950 213,551
Cash and cash equivalents, end of year 63,297 56,373 88,950
Supplemental disclosure of cash flow information:      
Cash paid for interest 4,580 6,169 4,464
Cash paid for income taxes 6,445 9,247 5,740
Non-cash investing activities:      
Property and equipment included in accounts payable 69 167 148
Inventory transferred to property and equipment 300 1,211 1,006
Finance Lease, Principal Payments $ (478) $ 0 $ 0

Source