The following table provides information on changes in accumulated other comprehensive loss for the periods presented: | | | | | | | | | | | | | | | | Three Months Ended | (in thousands of dollars) | | Defined Benefit Pension Plan | | Cash Flow Hedges (Effective Portion) | | Total | January 4, 2020 | | | | | | | Beginning Balance | | $ | (56,154 | ) | | $ | — |
| | $ | (56,154 | ) | Amounts reclassified from other comprehensive loss and included in earnings | | 430 |
| | — |
| | 430 |
| Total other comprehensive income, before taxes | | 430 |
| | — |
| | 430 |
| Income tax expense | | (103 | ) | | — |
| | (103 | ) | Ending Balance January 4, 2020 | | $ | (55,827 | ) | | $ | — |
| | $ | (55,827 | ) | | | | | | | | December 29, 2018 | | | | | | | Beginning Balance | | $ | (38,427 | ) | | $ | — |
| | $ | (38,427 | ) | Other comprehensive income, gross | | — |
| | (1,130 | ) | | (1,130 | ) | Amounts reclassified from other comprehensive loss and included in earnings | | 689 |
| | 59 |
| | 748 |
| Total other comprehensive income (loss), before taxes | | 689 |
| | (1,071 | ) | | (382 | ) | Income tax (expense) benefit | | (165 | ) | | 257 |
| | 92 |
| Ending Balance December 29, 2018 | | $ | (37,903 | ) | | $ | (814 | ) | | $ | (38,717 | ) |
|