Changed the motor example