cleanup.
cleanup, fixed -ve velocity bug.