unordered pairs representation