expansion on generic

expanded on generic by adding generic method