more supportive data structures for constructing S2 method's summary