replace depricated ImmutableSet with frozenset
Replace depricated ImmutableSet with frozenset