I have had to replace the headlights twice in less than 2 years. The check engine light comes on constantly. If I leave the car on too long, without out driving it then the car will start shaking. If feels like for lack of better terminology, the car has gas, and then it will turn off. Recently the arrow light that comes on when you use the low gear is flashing and the check engine light is on, AGAIN. Which makes no sense to me. Unless the car is stuck in a lower gear (it does seem to be hesitating, which I never us. By the way the car is an automatic. I honestly couldn't tell you the number of time the check engine light has come on in the last year and a half or so. Bought the car in May of 2003, it's a 2001 S40.
The check engine light problem was the subject of a recall notice, at least with my 2000 S40 model. Until the recall fix, the dealership kept making minor adjustments that did no good.
Good luck.