XML 17 R6.htm IDEA: XBRL DOCUMENT v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
Cash flows from operating activities    
Net Income $ 26,459 $ 6,137
Adjustments for:    
Depreciation 6,745 4,398
Change in allowance for doubtful accounts 7,031 6,937
Share-based compensation 3,581 2,978
Unrealized gain on warrant conversion liability 0 (363)
(Gain) loss on equity method investment (36) 77
(Gain) loss on disposal of property and equipment (2,424) 308
Deferred income taxes (benefit) (7,593) 0
Net change in working capital    
Increase in accounts receivable (6,986) (9,827)
(Increase) decrease in inventory (1,402) 1,621
Increase in prepaid expenses and other current assets (1,771) (1,321)
Increase (decrease) in trade payables 2,739 (1,813)
Increase in deferred revenue 297 770
Increase in accrued liabilities 2,397 1,909
Increase (decrease) in income tax payable 282 (124)
Net cash provided by operating activities 29,319 11,687
Cash flows from investing activities    
Purchase of property and equipment (8,204) (10,582)
Investment in equity method investment (30) 0
Proceeds from sale of property and equipment 5,187 350
Net cash used in investing activities (3,047) (10,232)
Cash flows from financing activities    
Proceeds from exercise of options 1,780 136
Proceeds from exercise of warrants 0 261
(Principal payments) net proceeds on notes payable (104)  
(Principal payments) net proceeds on notes payable   4,837
(Principal payments) net proceeds on term note   4,966
(Principal payments) net proceeds on term note (1,199)  
Shares repurchased and canceled under the Normal Course Issuer Bid 0 (1,522)
Repayments of lease liabilities (7,708) (7,916)
Net cash (used in) provided by financing activities (7,231) 762
Net increase in cash and cash equivalents 19,041 2,217
Cash and cash equivalents at beginning of year 13,355 10,413
Cash and cash equivalents at end of period 32,396 12,630
Supplemental disclosures of cash flow information    
Cash paid during the period for interest 437 91
Cash paid during the period for income taxes, net of refunds received 1,975 338
Supplemental disclosures of non-cash transactions    
Property and equipment financed through finance leases 3,002 14,735
Property and equipment financed through leases under FASB ASC 842 $ 57 $ 2,052