object-oriented Vector