vector conversion