checkGrid commented