prints grid