i wanted to do it so that a class can access a vector located in the main program, without having to pass it as a parameter for every function call.