swapping correct vectors