Title: Principles of atomic spectra