updated vector stuff, still some bugs though