changes to generatorprint