Wrote MyPair methods