change class name Pair to Duo