added some PWM experimentation