Added graph for matching and proc