         return self.subtracting(Range(ranges))
     }
     public func intersection(_ ranges: CountableRange<Bound>) -> RangeSet {
-        return self.subtracting(Range(ranges))
+        return self.intersection(Range(ranges))
+    }
+    public func symmetricDifference(_ ranges: CountableRange<Bound>) -> RangeSet {
+        return self.symmetricDifference(Range(ranges))
     }
     
     public func union(_ ranges: CountableClosedRange<Bound>) -> RangeSet {

        return ranges.ranges.reduce(self) { $0.subtracting($1) }
    }
    public func intersection(_ ranges: RangeSet) -> RangeSet {
        return ranges.ranges.reduce(self) { $0.intersection($1) }
    }
}


        return self.subtracting(Range(ranges))
    }
    public func intersection(_ ranges: CountableClosedRange<Bound>) -> RangeSet {
        return self.intersection(Range(ranges))
    }
    public func symmetricDifference(_ ranges: CountableClosedRange<Bound>) -> RangeSet {
        return self.symmetricDifference(Range(ranges))
    }
}
