use of generator-ionic