Fleshed out doPArse.  Hopefully I did it right.