A material called mayenite can be turned from an insulator to a transparent conductor and back with a tiny change in its chemical composition. It turns out components called electron anions help to transform crystalline mayenite into semiconducting glass.