adding TOC to utils.py