change from map to raw data