changed vectorlist to vector