add nbCommits, clean modify code