Added some things for testing motor.