change speed and velocity

fixes issue #1