Using AgnGeneStream class for its intended purpose