repairing graph 2