Added pair class