rename eallpairs to epairs