finished vectorization