game over functionality added