Altered access check function