assign() from vector