working on reading in file correctly