grid print statement in