linking sections and adding toc