adding elements to a set that already potentially contain them

thanks