added stratification check
Merge branch 'master' of https://github.com/ptsankov/bellog