added IPrint, extra debugging print flag