reorg based on final table of contents