updated ch2 data structures hw