He discovered the electron and isotopes , and invented the mass spectrometer .
He is credited for the discovery of the electron and of isotopes , and the invention of the mass spectrometer .