Changed return value of read()