ways of vector initialization