bolierplate checks.