added token cases to parse_paragraphs