Atomic Structure and Valence Electrons