| Accrued Expenses |
Accrued ExpensesAccrued expenses consisted of the following: | | | | | | | | | | | | | September 30, | | December 31, | | 2022 | | 2021 | | Payroll and related expenses | $ | 35,953 | | | $ | 32,968 | | | Current portion of lease liabilities | 9,807 | | | 9,095 | | | Warranty | 16,241 | | | 15,510 | | | Income tax payable | 37,686 | | | 34,845 | | | Accrued sales rebate | 17,808 | | | 8,568 | | | Current portion of non-controlling interest buyout liability | — | | | 2,700 | | | Other accrued expenses | 15,937 | | | 8,692 | | | Total | $ | 133,432 | | | $ | 112,378 | |
Activity related to warranties is as follows: | | | | | | | | | | | | | | | | | | | | | | | | | For the three months ended | | For the nine months ended | | September 30, 2022 | | October 1, 2021 | | September 30, 2022 | | October 1, 2021 | | Beginning warranty liability | $ | 16,088 | | | $ | 13,650 | | | $ | 15,510 | | | $ | 9,835 | | | Charge to cost of sales | 2,812 | | | 4,422 | | | 8,261 | | | 11,753 | | | Fair value of warranty assumed in acquisition | — | | | — | | | — | | | 150 | | | Costs incurred | (2,659) | | | (2,523) | | | (7,530) | | | (6,189) | | | Ending warranty liability | $ | 16,241 | | | $ | 15,549 | | | $ | 16,241 | | | $ | 15,549 | |
|