getVertices and addVertex push