keeping track of the vectors in a global