Changed "velocity" for "speed" in initialization definition.