change friend decl to friend class