pairs with difference