changed the raw data format to match models