Change method process_data()