added method to get all vertexes at once