modifications for table_of_contents

upon Jamil's request.