XML 22 R6.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities:    
Net income (loss) $ (16,311) $ 30,001
Adjustments to reconcile net income (loss) to net cash used in operations:    
Depreciation and amortization 16,169 18,165
Impairment of goodwill 0 35,060
Amortization of debt financing costs and discount 395 1,462
Provision for doubtful accounts 372 446
Provision (benefit) from deferred income taxes 551 (1,193)
Loss (gain) on extinguishment of debt (138) 2,808
Gain on sale of discontinued operations 0 (94,293)
Share-based compensation 2,365 2,268
Loss on disposals of fixed assets 59 62
Change in fair value of contingent purchase consideration 1,135 0
Changes in operating assets and liabilities:    
Accounts receivable 1,118 (1,446)
Inventory 11 (1,581)
Prepaid expenses and other assets (911) (3,113)
Accounts payable (448) (3,174)
Accrued expenses and other long-term obligations (4,596) 5,649
Operating lease liabilities (1,606) (900)
Deferred revenue 128 5,662
Net cash used in operating activities (1,707) (4,117)
Cash flows from investing activities:    
Proceeds from sale of discontinued operations 0 118,206
Acquisitions, net of cash acquired (13,141) (7,443)
Purchases of property and equipment (857) (1,017)
Software capitalization costs (2,780) (3,824)
Net change in funds held for clients (184,356) (20,290)
Net cash provided by (used in) investing activities (201,134) 85,632
Cash flows from financing activities:    
Proceeds from notes payable 8,856 28,636
Payments of notes payable (12,234) (118,421)
Proceeds from revolving line of credit 0 10,231
Payments of revolving line of credit 0 (10,312)
Debt financing fees (245) (1,539)
Payments of finance leases 0 (102)
Net proceeds from issuance of common stock 21,392 820
Net change in client fund obligations 184,823 22,669
Net cash provided by (used in) financing activities 202,592 (68,018)
Effect of foreign exchange rates 0 (115)
Net increase (decrease) in cash and cash equivalents (249) 13,382
Cash and cash equivalents at beginning of period 28,826 15,444
Cash and cash equivalents at end of period 28,577 28,826
Cash paid for:    
Interest 1,029 8,897
Income taxes 3,662 126
Non-cash Investing and Financing Activities:    
Notes issued in connection with acquisition 1,177 0
Contingent purchase consideration 2,745 0
Equity issued in connection with acquisitions $ 0 $ 555