added nametable length method