my final edit for verlet