gameOver func made more clear