aftermath of trying to use HashSet