transpose for raw data