remove Pair class