added support for Pair call