Doing some checks.