pair() for tuple with two values