Adding TOC generator