Capital Loss Carryover

I already have a large capital loss carryover from prior tax years.

In 2023I received a class action settlement from a security that I previously had declared worthless (by my broker) which I deposited into my bank account.

Should I simply add this positive amount to my already negative capital gains carryover to arrive at a new smaller carryover amount for 2023 taxes?

I am assuming this is the correct and appropriate thing to do.

John K