add the vertices and their selector