raw -> shared