change paragraphs to lists