refactored preprocessing.apply
added preprocess/DoubleDifference