text is a list of paragraphs