add support for HashSet