Working on adding code to load pwm