implemented read method