TOC exercise

Seems weird but I guess you could make a useful version of it.