Using new generator