added TOC to temporary index