End Game Logic Added