finish vector sample

finish vector sample