change the data structures