have add old pwm code 1