new vector class