this function is very useful for adaptive speed applications