Adds some print statements to process_data