read vector