moved self.pwm