refonte readAndCheck + test