print for grid (test coverage = 99.48%