new stuffs of generator