simplify read() method