added jacobian output