PWM init function and seperation