add genestat class prototype