fixed mate function
Merge branch 'master' of https://github.com/sikor/IntObl