contains allpairsping and allpairspingmap