add dNdYpT fdunction