put summary of contents into index