vector working