Comparing data on Vectors