some example with pwm