Pair generator