change data encoding process