src:Modified prior vector to be a pointer instead of a reference