retrive elem from set