experimenting with pwm