changed motors routine