Added some vector functionality