Table:
|  |  | Fiscal |  |
| --- | --- | --- | --- |
|  | 2019 | 2018 | 2017 |
| Beginning balance | $40,220 | $36,149 | $15,949 |
| Additions related to current period sales | 52,271 | 58,865 | 41,365 |
| Warranty costs incurred in the current period | (54,538) | (51,935) | (31,825) |
| Accruals resulting from acquisitions | 21 | 179 | 14,314 |
| Adjustments to accruals related to foreign exchange and other | (1,514) | (3,038) | (3,654) |
| Ending balance | $36,460 | $40,220 | $36,149 |
Paragraphs:
Warranty Reserves
We provide warranties on the majority of our product sales and reserves for estimated warranty costs are recorded during the period of sale. The determination of such reserves requires us to make estimates of product return rates and expected costs to repair or replace the products under warranty. We currently establish warranty reserves based on historical warranty costs for each product line. The weighted average warranty period covered is approximately 15 to 18 months. If actual return rates and/or repair and replacement costs differ significantly from our estimates, adjustments to cost of sales may be required in future periods.
Components of the reserve for warranty costs during fiscal 2019, 2018 and 2017 were as follows (in thousands):
Question:
In which year was the Ending balance the largest?
Answer: Because 40,220>36,460>36,149, the answer is: 2018.