Added preprocess to new functions