minor change to read method