Extract speed to variable.