The 540i if you're going to buy one is an excellent car. The only draw backs which you should worry about are the brakes and water pump. They go on these cars and will cost to fix. But remember the problem won't arise again for years if even then. So go ahead and purchase one, just have some money on the side for repairs or find someone who works on BMWs for a reasonable price!
† Edmunds.com received the highest numerical score in the proprietary J.D. Power 2014 Third-Party Automotive Website Evaluation Study℠. Results based on responses from 3,381 responses, measuring 14 companies and measures third-party automotive website usefulness among new and used vehicle shoppers. Proprietary study results are based on experiences and perceptions of owners surveyed from January 2014. Your experiences may vary. Visit jdpower.com.