working on DocumentParser