Functional Vertex replacement