add titles to paragraphs