adding a table of contents generator