Speed can be a function.
Added additional levels.