Spectra of highly ionized atoms