Added global vertex and edge variables I believe.