added a Pair class to work with FlowInspector