Changed positions to vector object