change to read into a vector