Added functions to control the rotational speed