publish way/generator