PWM is a class now