change implementation of VertexData