with the aid of ion-exchange material