modified graph assignment
modified graph assignment