added some print statements in early conversion