What happens to the other ions that are not attracted to the electrodes?