add toc and fix typos