data structure is in shambles