adding TOC and references