updated docparser description
removed reduntant code