added hash for vi and pair