change the data structure