Engine Performance problem
2002 Nissan Sentra 4 cyl Front Wheel Drive Automatic 98000 miles
----------------------------------------------------------------
Helped friend change the head gasket on his sentra after the car overheated. Changed the head gasket, water pump, and thermostat. When we put the head back on and got everything else hooked up the we started the car and it sounded bad. Had a very rough idle and was idling at about 600 rpm. We concluded that the timing was off. We took off the valve cover and sure enough our timing was off. We took the timing chain off the cam sprockets, put the cams in time according to the mating marks on the sprockets, put the crank at TDC on 1 , then put the chain back on the cam sprockets, valve cover back on and so forth. From the mating marks on the crank and cam sprockets it is timed perfect. We start the car up and it idles high at 1200 rpm, the starts to slow down to around 700rpm. its rough and shakes alot. However you give the car a little gas and the engine sounds great, fires on all four, and there is no shaking, just smooth running, let off the gas and the rough idle shaking starts. I have three theories, the EGR is not working right, I have a vacuum leak, or the IAC is not working right. Need some help here please on diagnosis. Oh yeah prior the head gasket change, we had just replaced the plugs, wires, and the fuel pressure regulator.