adding a docstring to _encode_set