XML 16 R6.htm IDEA: XBRL DOCUMENT v3.19.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
shares in Thousands, $ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Cash flows from operating activities:    
Net loss $ (17,508) $ (47,120)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:    
Depreciation and amortization 15,377 8,014
Amortization of deferred financing costs and debt discount 4,603 41
Deferred taxes (6,633) (3,067)
Stock-based compensation 13,758 4,125
Change in fair value of acquisition-related contingent consideration 3,006 48,804
Acquisition-related contingent consideration paid (24,450)  
Other noncash items 12 29
Changes in operating assets and liabilities, net of effect from acquisitions:    
Accounts receivable, net (2,383) (4,195)
Inventories (89) (593)
Prepaid expenses and other current assets (1,468) (2,152)
Other assets (140) 196
Accounts payable (5,571) (2,057)
Accrued expenses and other liabilities 5,661 1,800
Other long-term liabilities (40) (64)
Net cash (used in) provided by operating activities (15,865) 3,761
Cash flows from investing activities:    
Purchases of property and equipment (3,508) (2,564)
Software development costs (6,618) (2,155)
Purchases of intangible assets   (30)
Proceeds from repayment of note receivable 1,000  
Acquisitions of businesses, net of cash acquired (158,762) (6,957)
Net cash used in investing activities (167,888) (11,706)
Cash flows from financing activities:    
Payments for repurchase of common stock   (2,866)
Proceeds from exercise of stock options 1,536 2,173
Payments for debt financing costs (9,477) (2)
Borrowings on line of credit   8,000
Repayments of line of credit (45,000)  
Payments of equity offering costs   (357)
Payments of acquisition-related contingent consideration (20,342) (1,646)
Repayments of long-term debt and finance leases (541) (514)
Proceeds from issuance of convertible senior subordinated notes 325,000  
Proceeds from sale of warrants 65,910  
Purchase of convertible note hedges (101,660)  
Net cash provided by financing activities 215,426 4,788
Net increase (decrease) in cash and restricted cash 31,673 (3,157)
Cash and restricted cash, beginning of period 25,029 10,430
Cash and restricted cash, end of period 56,702 7,273
Supplemental disclosure of cash flow information:    
Acquisition of equipment under capital leases   442
Additions to property, equipment, and software development purchases included in accounts payable and accrued expenses 291 452
Cash paid for interest 364 $ 121
Cash paid for taxes 279  
Interest costs capitalized to property and equipment and software development costs, net of depreciation and amortization $ 148  
Stock issued in connection with acquisitions 9,504