grid reference in gameLoop when it should be gamegrid