add back directions to Jacobian