ions had