changes for data conversion