big improvement to add-to-set feature