second version of checks