raw data processing