apparently paragraphs was not an array