An electron gun at the back of the tube, like those used in a cathode ray tube, fires electrons at the material. When the photoelectric material is hit with brighter light, it produces more electrons, which cause more of the electrons fired by the electron gun to bounce back.