added check.mixin method fixes #7