hw7 read data