transform the data