mad at this data structure