adding jacobian
adding jacobian