return pointer to vector