addition of checkAccess_static