initialise motor to 0