changed method called to see if player lost