correctly determine access