functionality to delete sets