Changed the way vector works