Network: doGenerate -> generate.