change usage of preprocess