Factors to consider when buying a car