main Jacobi program