factors affecting speed