thanks guys for ur help.
ok i got the rpm code problem fixed and i cleaned out all the egr tubes and it still kept thowin the code so i replace the egr, the egr pressure switch, and all the egr tubing and still kept throwin the code any other suggestions. and know it has this strange missfire action. so i pulled all the wires and plugs check them and they where fine. any ideas? thanks for yalls help