changed default value for speed