commented preprocess.py