In 2006 the European Union, China, and California banned lead in consumer products. Lead solder became illegal in electronic devices in some places. Lead-free solder was needed. Many lead-free solders have tin, silver, and copper in them. They melt around 217°C. Sometimes indium is added to the solder to make it better, but indium is very expensive.