Changed inputs into preprocess