start parsing the improvedIRDoc