A dirty mass airflow sensor causes poor mileage and rough idle. Clean it before replacing.