Constructing the generator Close