finished vector class