XML 18 R7.htm IDEA: XBRL DOCUMENT v3.19.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Cash flows provided by operating activities:    
Net income $ 50,888 $ 70,254
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation of property, plant and equipment 8,147 4,981
Amortization of intangible assets 4,895 72
Amortization of premium and accretion of discount on available-for-sale marketable securities (12) 1,014
Stock-based compensation 21,076 13,977
Loss from disposal of assets 552 64
Realized loss from sale of available-for-sale marketable securities 91
Changes in assets and liabilities:    
Inventories, net 1,723 (18,952)
Prepaid expenses and other assets (2,574) (2,135)
Trade receivables, net (56,562) (9,203)
Operating lease right-of-use assets and liabilities, net and effect of exchange rate differences 1,466 (148)
Deferred tax assets and liabilities, net (1,960) (3,018)
Trade payables, net 5,493 12,143
Employees and payroll accruals 5,151 1,028
Warranty obligations 28,860 18,479
Deferred revenues 11,764 13,120
Other liabilities 28,236 6,194
Net cash provided by operating activities 107,234 107,870
Cash flows from investing activities:    
Business combination, net of cash acquired (38,435)
Purchase of property, plant and equipment (22,244) (21,385)
Withdrawal from bank deposits 3,909 (342)
Investment in restricted bank deposits (203) (191)
Investment in available-for-sale marketable securities (63,655) (89,389)
Proceeds from sales and maturities of available-for-sale marketable securities 68,407 46,825
Net cash used in investing activities (52,221) (64,482)
Cash flows from financing activities:    
Repayment of bank loans, net (4,675)
Proceeds from issuance of shares under stock purchase plan and upon exercise of stock-based awards 3,764 7,591
Change in non-controlling interests (66,474)
Net cash provided by (used in) financing activities (67,385) 7,591
Increase in cash and cash equivalents and restricted cash (12,372) 50,979
Cash, cash equivalents and restricted cash at the beginning of the period 187,764 163,163
Effect of exchange rate differences on cash, cash equivalents and restricted cash 1,183 398
Cash, cash equivalents and restricted cash at the end of the period 176,575 214,540
Supplemental disclosure of non-cash activities:    
Operating lease, right of use assets $ 38,374