added ionization correctly