game over logic added