Changed initialization of vector