avoiding duplicates in outcomes print