added the symplectic integrator part