add friend class declaration