modifications with data structures