added sharing structures for nameset and nametab