add some vector func