Added Pair class