edited process_data.js