Updated checkAccess call