basic data structure for the friend class
changes in friend lib