improvemnets for Vec