add support for Pair