adding deleteSet functionality