initialization of vectors including iterator