added some vector stuff