where is the egr solenoid located? on 2001 Hyundai Sonata

i replaced the egr valve on my 2001 sonata and it still idles rough. could it be the egr solenoid and where is it located?

Asked by for the 2001 Hyundai Sonata
This is a 2003 2.4L possibly the same location try this link,r:1,s:0,i:87