added velocity and damping