checked the iac, disconnected it and the engine started to stall so looks like it's working properly. Upon further inspection it is now doing this when the car is actually driving now, not just when idling. There's a click noise, the rpms get real low, then it rev's back up to normal. Then a click, rpms get low, then back to normal, and repeat.