changed all the TNodes to Node