added comments for longPair