final adjustments to entries in the toc