finished paragraphs parsing

- updated root document parsing