add some methods to RangeExtension