added vector stuff