from SmartGit 1