Changed RangeExtractor To my needs
Edited RangeApplier