to_set method