Modifed hashset to avoid hashes