new version of gendoc