Added win/lose logic