Create new generator