function of the output shaft