adding paragraphs to index