rename setPairs to setStrings