almost figured out reading in a file