adding read()