teting t dep generic. Note that this function integrages over the node ages