Add a max speed variable.