adding vec support