Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Jan. 02, 2016
Jan. 03, 2015
Cash flows from operating activities:      
Net income $ 23,747 $ 23,552 $ 16,405
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation 9,577 7,008 4,534
Amortization 6,096 3,413 1,446
Provision for (recovery on) allowance for doubtful accounts 81 (131) (535)
Stock-based compensation 1,769 1,774 1,214
Amortization and write-offs of deferred financing costs and debt discount 6,779 1,014 3,533
Derivative financial instruments   126 669
Deferred income taxes 6,277 5,993 3,329
Excess tax benefits on stock-based compensation (1,872) (3,840) (6,064)
Fair value adjustment to contingent consideration (3,000)    
(Gain) loss on disposal of assets (45) 10  
Change in operating assets and liabilities (net of the effects of the acquisitions):      
Accounts receivable (7,069) (7,263) (642)
Inventories (152) (3,083) (3,834)
Prepaid expenses and other current assets 2,215 (1,786) (1,628)
Accounts payable and accrued liabilities 1,962 5,669 3,823
Net cash provided by operating activities 46,365 32,456 22,250
Cash flows from investing activities:      
Purchases of property, plant and equipment (17,694) (17,391) (19,301)
Business acquisitions (101,338)   (110,438)
Proceeds from disposals of assets 45    
Net cash used in investing activities (118,987) (17,391) (129,739)
Cash flows from financing activities:      
Payments of long-term debt (203,525) (2,000) (79,500)
Proceeds from issuance of long-term debt 261,030   198,000
Payments of financing costs (7,178)   (5,466)
Purchases of treasury stock (2,847) (44) (1,025)
Proceeds from exercise of stock options 981 2,192 1,691
Proceeds from issuance of common stock under employee stock purchase plan 36    
Excess tax benefits on stock-based compensation 1,872 3,840 6,064
Other (30) (29) (10)
Net cash provided by financing activities 50,339 3,959 119,754
Net (decrease) increase in cash and cash equivalents (22,283) 19,024 12,265
Cash and cash equivalents at beginning of period 61,493 42,469 30,204
Cash and cash equivalents at end of period 39,210 61,493 42,469
Supplemental cash flow information:      
Interest paid 16,015 11,502 2,216
Income tax payments, net of refunds 2,231 6,808 1,198
Non-cash activity:      
Contingent consideration reversed out of accrued liabilities 3,000    
Portion of USI purchase price held-back by PGTI 85    
Property, plant and equipment additions in accounts payable $ 251 $ 723 $ 489