add docs and update Parser