major added toc hooks