added type checking
Merge branch 'master' of https://github.com/needbee/polyglot.me