add toc lookup functionality