~# modified vector and vertexdata class