add default value to speed