Moved reading to read method