added pwm to motors