calculation of # of tnodes seems to be working...