conversion to separate parsing step