Adds TOC, fills first sections