Working chainrule