renamed iprint to cprint