modified print statements for preprocess()