added gameOver variable