pair -> group