added Vector-base function