add minDifference; not completed
Merge branch 'master' of github.com:lydia4me/lydia4me