work on pyohn generator