add variable speed for units