results of all pairs