added maximum velocity and damping effects