<prompt> Human: I currently have a Mazdaspeed3 which has about 9500 left on its loan. It recently had its check engine light come on and while I cant remember the exact issue a mechanic who my dads known for years quoted me a fix of 800. Lately Ive been thinking about buying a new car. In all likelihood Id look into a new Mazda3. Even before my current cars issue I had been thinking about getting a more economical car. I get about 22-23 MPG in my MS3, which requires premium. The new Mazda3s have an epa average of 40 highway 65-75 of my driving and can use 87. With gas alone, I would save about 600year according to a calculator I used. Furthermore a new car would have a warranty which would be nice.However, I know that cars lose a large chunk of its value instantly. While cars in general are not a good investment, this seems a worse route than going with the used market. Also the idea of having a larger payment doesnt sound that great though. I currently make 40kyr and live in Southern California; Im afraid of devoting too much to a car paymentinsurance. I really dont know what would be the smart move. Id be able to sell my MS3 and get at least the value of my loan, but that wouldnt leave me much for a down payment. Some advise would be nice. Thanks.  <response>: I would rather pay the 800 to fix up the current car, rather than digging into more debt for a new car. 