Change Pair to tuple