preparations for preprocess samples rework