simplify access check.