added game over functionality