fix the codes depending on the cost and the year and mileage of the car