added motor pwm