removing tuples and sets