generate toc hopefully