added weight to edge