work towards table of contents, highly unfinished