Change method of reading in data