added some utility to vectors