add table of contents to nbs