fleshed out name-tree representation