Solar cells made of perovskite hold much promise for the future of solar energy. However, the material degrades quickly, severely limiting its efficiency and stability over time. Researchers have discovered that adding a small amount of fluoride to the perovskite leaves a protective layer, increasing stability of the materials and the solar cells significantly.