this should return a vector<>& or const vector<>&. otherwise the vector is copied