updated Accesstime logic