motor class added