make O Win logic work