pairId is now String, not int