pwm takes in 2 freqs now - but prob will revert back