cleaning up arrayGameState