implement getGeneric