rearranged chapters with creation of optChapter