repairing graph 3