added PWM skeleton