gutting redundant elements