removed bug - cound't stop when speed is 0