XML 18 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
shares in Thousands, $ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities:    
Net (loss) income $ (36,704) $ 1,889
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 12,110 5,730
Amortization of deferred financing costs and debt discount 66 72
Deferred taxes (4,536) (7,144)
Stock-based compensation 7,121 7,776
Change in fair value of acquisition-related contingent consideration 40,385 960
Other noncash items 51 17
Changes in operating assets and liabilities, net of effect from acquisitions    
Accounts receivable, net (7,035) (1,359)
Inventories (818) 130
Rebates receivable 100 (30)
Prepaid expenses and other current assets (5,015) (18)
Other assets 267 (58)
Accounts payable (5,163) 29
Accrued expenses and other liabilities 8,421 3,274
Other long-term liabilities (7) 432
Net cash provided by operating activities 9,243 11,700
Cash flows from investing activities:    
Purchases of property and equipment (3,484) (2,618)
Software development costs (3,564) (2,223)
Purchases of intangible assets (29)  
Acquisition of business, net of cash acquired (21,981) (34,452)
Net cash used in investing activities (29,058) (39,293)
Cash flows from financing activities:    
Payments for repurchase of common stock (2,866) (959)
Proceeds from exercise of stock options 2,590 194
Payments for employee taxes for shares withheld   (2,123)
Payments for debt financing costs (103) (220)
Borrowings on line of credit 26,500 35,342
Repayments of line of credit   (342)
Payments of acquisition-related consideration   (550)
Payments of equity offering costs (364) (132)
Payments of contingent consideration (1,646) (1,498)
Repayments of long-term debt (779) (525)
Net cash provided by financing activities 23,332 29,187
Net increase in cash 3,517 1,594
Cash, beginning of period 10,430 4,345
Cash, end of period 13,947 5,939
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 390 50
Deferred offering costs included in accounts payable   46
Cash paid for interest 251 $ 146
Employee payroll taxes on exercise of stock options included in accrued expenses $ 348  
Stock issued in connection with acquisition 3,595 11,541