TOC extraction