preproc changed to python