changed vertex to node