Tranform data