Functions for motor provided