add pair utility