smooth movement works, no longer seg faults when speed is altered