I just bought a trade in from a dealership that i work at (2000, lx, 1.6, 117k) and so far its been running fairly well. It idles kind of rough at about 700-500 rpms and a check engine light came on about a week ago and its a p0420 or 30 (Catalyst System Efficiency Below Threshold) and I'm trying to fix the problem. I was going to just replace the cat but then i found out about the pre-cat and found out how much it was to replace that and I have had a couple different people tell me that the cat isnt necesarily the problem. I replaced the spark plugs with basic ngk's gapped at .044 and replaced the wires and it still idles rough but i havent cleared the code yet. We opened the hood and there seems to be a slight clicking noise coming from a little sensor thing (looks like some kind of vacuum sensor) thats connected close to the top of the throttle body and i dont know if that noise is normal or not and i have no clue what this thing is. It has two hoses going into the bottom of it and a electronic plug in the top. One hose goes to the throttle body and the other goes to a black canister near the front passenger wheel well. I've thought about replacing the ignition coils or testing them if possible and also the o2 sensors. I really just need some kind of help on where i should start.