call to access() method changed to after the expiry check.