added PWM, PID