moved vector to main.cpp