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
Net Cash Provided by (Used in) Operating Activities [Abstract]      
Net income $ 59,229 $ 168,642 $ 150,603
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 27,868 24,092 21,444
Stock-based compensation expense 42,891 36,349 40,829
Deferred income tax expense (benefit) (1,424) 12,580 7,816
Accretion of debt issuance costs 373 372 372
Changes in operating assets and liabilities, net of assets and liabilities acquired:      
Accounts receivable 9,052 7,015 (18,041)
Prepaid expenses (7,815) (5,660) (1,200)
Other current assets (12,024) (886) (168)
Current income taxes 8,176 13,879 (22,344)
Lease right-of-use assets 3,185    
Other assets (9,091) (5,124) (2,755)
Deferred revenue 790 2,150 13
Accounts payable and other current liabilities 12,517 9,792 15,944
Lease right-of-use liabilities (3,400)    
Other liabilities 6,826 12,880 5,310
Net cash provided by operating activities 137,153 276,081 197,823
Investing activities:      
Sale of short-term investments 0 0 1,502
Sale of long-term investments 0 0 10
Purchase of long-term investments 0 0 (4)
Acquisition of MetaPack, net of cash acquired 0 (208,500) 0
Acquisition of property and equipment (2,256) (2,898) (6,813)
Net cash used in investing activities (2,256) (211,398) (5,305)
Financing activities:      
Net proceeds from (repayments of) short term financing obligations (22,818) 6,593 1,653
Principal payments on term loan (10,828) (8,764) (6,703)
Payments on revolving credit facility 0 (12,716) (71,990)
Proceeds from exercise of stock options 3,049 47,338 63,119
Issuance of common stock under Employee Stock Purchase Plan 2,817 3,756 2,937
Payments related to tax withholding for share-based compensation (93) (4,144) (799)
Repurchase of common stock (64,889) (136,840) (133,764)
Net cash used in financing activities (92,762) (104,777) (145,547)
Effect of exchange rate changes 415 (52) 0
Net increase (decrease) in cash and cash equivalents 42,550 (40,146) 46,971
Cash and cash equivalents at beginning of period 113,757 153,903 106,932
Cash and cash equivalents at end of period 156,307 113,757 153,903
Supplemental Information:      
Capital expenditures accrued but not paid at period end 34 40 30
Tenant improvement allowance 0 600 848
Income taxes paid (refunded), net 13,844 (10,100) 23,480
Interest paid 2,141 2,701 3,580
Cash paid for amounts included in the measurement of lease liabilities included in cash provided by operating activities 4,935 0 0
Lease liabilities arising from obtaining right-of-use assets $ 8,771 $ 0 $ 0

Source