The function of a governor in automobiles is to