stuff from data structures class