Energy Levels and Valence Electrons