serializing rightTuples implemented