minor change
read() method added