Minor modification for the graphs