changing the data structures around