move org parsing code out of dow