add deriv-sum and deriv-product