added comments for Pair