deleted gameOver function which we didn't need