use new generator