some advancements in the generator