Changed the way paragraphs are handled for #4 and #5.