Have the egr and dpfe system thoroughly checked and depending on year and mileage, check the cats. If you find a car with under 80k miles, the cats are still under warranty, because they are under recall for early failure.
Run an oasis report if you have access and it will come up. Also check the wiring harnesses.