pwm motor control is now working!