adding check.then safe
minified
working on check.then
fixed unit test
1.0.0 added check.then