TOC now working as expected