changing ToC to be a table