adding hessian