Running rough when AC is turned on..

the first thing that comes to my mind is that piece that bumps the idle speed up when you turn the ac on. can't remember the name of it but that could be it. also the compressor clutch going out can do that too.