new vector routines.