separate generate paragraphs and apply new CSS