build a Pair read class