handle paragraphs