add coordinates of vertices