XML 35 R6.htm IDEA: XBRL DOCUMENT v3.19.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Cash (used in) provided by operating activities:        
Net (loss) income $ (47,612) $ (47,472) $ (2,891) $ 21,477
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:        
Amortization of intangible assets 4,838 5,716 5,287 2,108
Depreciation 4,634 4,582 4,030 2,520
Change in valuation of warrants 4,000 (1,413) (9,300) (6,170)
Stock compensation expense 473 1,619 1,501 1,487
Amortization of financing fees 4,117 3,048 443 87
Deferred income taxes 239 18,121 (9,058) (1,624)
Loss on extinguishment of debt 11,921 357 12 0
Asset impairment charges 1 1,614 11,686 310
Tax benefit from exercise of stock-based compensation 0 (55) 0 0
Change in valuation of contingent consideration 0 (283) (23) (3,840)
Provision for doubtful accounts 67 80 288 70
Provision for inventory obsolescence 421 5,341 1,712 1,856
Loss (gain) on disposal of fixed assets 423 (663) 175 321
Other sources, net 13 413 681 612
Changes in operating assets and liabilities:        
Trade accounts receivable, net (8,391) 10,116 10,589 (30,682)
Inventory, net 13,366 55,564 (47,505) (44,240)
Prepaid expenses and other assets (2,284) (12,893) 2,126 (3,224)
Trade accounts payable (1,198) (27,037) 5,913 37,647
Income taxes refundable (payable) 6,508 (1,783) (7,673) 1,327
Accrued expenses 6,029 15,709 1,085 5,096
Other noncurrent liabilities (5,260) 1,601 8,107 (232)
Net cash (used in) provided by operating activities (7,695) 32,282 (22,815) (15,094)
Cash flows from investing activities:        
Capital expenditures (5,061) (3,872) (8,409) (8,214)
Proceeds from disposal of assets 0 2,466 0 0
Acquisitions of businesses, net of cash acquired 0 0 (34,227) (44,122)
Other (uses) sources, net (104) (245) (1,169) 14
Net cash used in investing activities (5,165) (1,651) (43,805) (52,322)
Cash flows from financing activities        
Proceeds from issuance of long-term debt 0 60,000 55,000 5,000
Repayments of long-term debt (71,400) (4,028) (972)
Financing fees (928) (5,802) (1,517) (154)
Net proceeds from stock offering and warrants 59,396 2,001 65 1,425
Proceeds from revolving line of credit 436,228 281,007 93,629 82,401
Repayments of revolving line of credit (411,948) (365,532) (74,359) (22,305)
Business acquisition contingent consideration payments (26) (8,348) 0 0
Tax benefit from exercise of stock-based compensation     65 2,706
Other uses, net (754) (110) (351) (430)
Net cash provided by (used in) financing activities 10,568 (36,784) 68,504 67,671
(Decrease) increase in cash (2,292) (6,153) 1,884 255
Cash at beginning of the year 2,292 8,445 6,561 6,306
Cash at end of the year $ 0 $ 2,292 $ 8,445 $ 6,561