running with graph