implement Vertexstruct