added game over handling