The BMW 5-Series offers such a wide variety of models--with various engines, transmissions, the M performance package, and even body styles (including a wagon in some years, and the more recent GT hatchback)--that research will be needed to sort out the years, models, and configurations you really want. Note also that parts and service for older German luxury brands can be costly, so you may want ask about used-car warranty options.