| Accrued Expenses |
Accrued Expenses Accrued expenses consisted of the following: | | | | | | | | | | June 29, |
| December 29, | | 2018 |
| 2017 | Payroll and related expenses | $ | 12,420 |
| | $ | 13,211 |
| Warranty | 6,142 |
| | 6,481 |
| Income tax payable | 5,203 |
| | 6,562 |
| Other accrued expenses | 8,598 |
| | 6,354 |
| Total | $ | 32,363 |
| | $ | 32,608 |
|
Activity related to warranties is as follows: | | | | | | | | | | | | | | | | | | For the three months ended | | For the six months ended | | June 29, 2018 | | June 30, 2017 | | June 29, 2018 | | June 30, 2017 | Beginning warranty liability | $ | 6,596 |
| | $ | 5,003 |
| | $ | 6,481 |
| | $ | 4,593 |
| Charge to cost of sales | 503 |
| | 1,391 |
| | 1,797 |
| | 3,053 |
| Costs incurred | (957 | ) | | (1,317 | ) | | (2,136 | ) | | (2,569 | ) | Ending warranty liability | $ | 6,142 |
| | $ | 5,077 |
| | $ | 6,142 |
| | $ | 5,077 |
|
|