add table of contents to each chapter.