added some new functions
Merge branch 'master' of https://github.com/seacode/gmr