added version with Verlet integration