added a configuration object to set custom speeds