change to a new type of data structure