added pwm and rgb function