Electron Shells And Ion Formation