change reader to matrix