improve print statement