added read methods to Triple and Quadruple