set win and lose option