change gameOver method