v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Operating activities:      
Net loss $ (22,935) $ (20,293) $ 42,594
Adjustments to reconcile net income to net cash provided by operating activities:      
Provision for losses on accounts receivable 6,909 10,017 1,123
Depreciation and amortization 33,863 30,098 16,879
(Gain) loss on disposal of property and equipment 746 (21) (29)
Impairment of intangible assets 8,192 1,674 0
Goodwill impairment charge 14,846 0 0
Warranty reserve 2,168 5,370 2,934
Stock-based compensation 17,051 9,445 9,008
Deferred taxes (13,714) 4,032 (2,437)
Changes in operating assets and liabilities, net of assets and liabilities acquired in acquisitions:      
Accounts receivable (5,199) (30,473) 19,723
Inventories (7,443) 7,581 (7,668)
Other assets (5,118) 5,492 (11,387)
Accounts payable 4,105 (1,385) (4,965)
Accrued liabilities (2,527) 5,421 (6,967)
Deferred revenue 2,076 (7,232) 13,879
Net cash provided by operating activities 33,020 19,726 72,687
Investing activities:      
Acquisition of businesses, net of cash acquired 151 (190,888) (15,849)
Acquisition of property and equipment (7,875) (4,066) (3,186)
Acquisition of intangible assets (665) 0 (210)
Purchases of short-term investments 0 0 (34,019)
Sales of short-term investments 0 34,019 0
Net cash used in investing activities (8,389) (160,935) (53,264)
Financing activities:      
Proceeds from stock option exercises and ESPP 11,448 3,466 3,630
Repurchase of company stock (5,630) (2,268) (19,289)
Taxes paid related to net share settlement of equity awards (5,183) (7,052) (4,107)
Proceeds from short-term borrowings 0 0 16,000
Proceeds from long-term borrowings 0 60,000 140,000
Deferred debt issuance costs 0 (354) (533)
Contingent consideration earn-out (147) (2,966) (1,284)
Payments on borrowings (50,000) (45,000) (16,000)
Net cash provided by (used in) financing activities (49,512) 5,826 118,417
Exchange rate effect on cash and cash equivalents (7,696) 10,782 (6,758)
Net increase (decrease) in cash and cash equivalents (32,577) (124,601) 131,082
Cash and cash equivalents, beginning of year 88,950 213,551 82,469
Cash and cash equivalents, end of year 56,373 88,950 213,551
Supplemental disclosure of cash flow information:      
Cash paid for interest 6,169 4,464 41
Cash paid for income taxes 9,247 5,740 16,344
Non-cash investing activities:      
Property and equipment included in accounts payable 167 148 134
Inventory transferred to property and equipment $ 1,211 $ 1,006 $ 1,303

Source