INTERNAL OPERATIONS / AUTOMATION BLUEPRINT

Document Expiration, Compliance Checklist & Policy Acknowledgment Automation Blueprint

Automate document expiration tracking, compliance checklists, and policy acknowledgments with verified evidence, controlled escalation, and auditable records.

19 min read Practical guide
Full guide as Markdown - includes every section and setup step.

What is document governance and compliance automation?

Document governance and compliance automation connects document expiration monitoring, evidence-based compliance checklists, and version-specific policy acknowledgments in one auditable system. This blueprint explains how to assign owners, verify completion, control reminders, and escalate outstanding obligations across your existing tools.

Use this guide to design three connected workflows: document renewal tracking, compliance checklist assignment, and employee policy acknowledgment. The examples are implementation guidance; configure requirements, approvals, and deadlines for your organization.

System Type: Compliance Operations, Document Governance & Internal Policy Management Architecture: Platform-Agnostic | Scheduled + Event-Driven Connected Workflows: 3 Primary Systems: Document Repository, CRM/PM, HRIS/Employee Directory, Email/Slack/Teams Optional Systems: E-Signature, Identity Provider, AI Document Analysis, Compliance Dashboard

Business objective

Build an automated compliance operations system that helps organizations track expiring documents, assign and verify compliance obligations, and ensure employees acknowledge updated policies.

The system should work with existing tools such as SharePoint, Google Drive, ClickUp, Monday.com, Asana, HubSpot, or custom internal platforms.

The goal isn't to send more reminders. It's to make compliance obligations visible, assignable, verifiable, and auditable.

System architecture

Connected Company Systems

Documents · HRIS · Project Boards · Policy Library

Normalize, Identify Owners & Check Requirements

Dates · Roles · Document Versions · Evidence

1. Document Expiration

Renewal & escalation

2. Compliance Checklist

Tasks & evidence

3. Policy Rollout

Acknowledgments

Verify → Update Status → Escalate → Audit

Central compliance register and manager dashboard

1. Shared configuration and source-of-truth design

Every obligation should be represented as a structured record rather than an isolated task or email.

ConfigurationExample
Document typeBusiness license, insurance certificate, vendor agreement
Expiration date2026-11-30
Document ownerAssigned employee or responsible department
Compliance reviewerHR, Legal, Finance, or Compliance Manager
Checklist templateQuarterly security review
Checklist itemsAccess review, evidence upload, approval
PolicyInformation Security Policy
Policy versionv2.1
Acknowledgment deadline14 days after release
Notification channelsSlack, Teams, email
Escalation ownerDepartment head or compliance lead

These examples are illustrative; requirements and deadlines must be set from the company's actual policies and applicable obligations.

Recommended sources of truth: the document repository stores official files, a policy register owns published policy versions, an HRIS or directory owns employee identity and reporting structure, a CRM/PM manages work assignments, and a centralized compliance register stores verified states, timestamps, evidence links, and audit records.

Blueprint 1 - Document Expiration Reminder & Renewal Tracking

2. Objective

Continuously monitor documents that require periodic renewal and coordinate the process before or after expiration.

Example document categories:

  • Company licenses and permits.
  • Insurance policies and certificates.
  • Employee professional certifications.
  • Supplier and vendor compliance documents.
  • Contracts and agreements.
  • Regulatory filings and approvals.
  • Equipment inspection certificates.

The system must distinguish between a document that has been renewed, one that has merely been uploaded, and one whose new validity has actually been verified.

3. Workflow logic

[TRIGGER] Scheduled Expiration Check
    ↓
[FETCH] Active Document Register
    ↓
[VALIDATE] Expiration Dates & Required Fields
    ↓
[LOOKUP] Owner + Responsible Department
    ↓
[CALCULATE] Days Until Expiration
    ↓
[ROUTER]
    ├── VALID / NOT DUE → No Action
    ├── EXPIRING SOON → Reminder
    ├── EXPIRED → Escalation + Risk Flag
    ├── MISSING OWNER → Ownership Exception
    └── MISSING DATE → Data Correction
    ↓
[WAIT] Renewal Activity
    ↓
[FETCH] Latest Document Version
    ↓
[VERIFY] Approval + New Expiration Date
    ↓
[UPDATE] Compliance Register
    ↓
[AUDIT] Renewal Lifecycle

Step A - Scheduled inspection

For example, run every business day at 08:00 in the organization's configured timezone.

Retrieve:

{
  "document_id": "DOC-104",
  "document_type": "INSURANCE_CERTIFICATE",
  "owner_id": "EMP-102",
  "expiry_date": "2026-11-30",
  "current_version": "2",
  "renewal_required": true,
  "status": "VALID"
}

Step B - Apply reminder rules

Illustrative reminder timeline

  1. 30 days before expiration

    Initial notification to the document owner with renewal requirements

  2. 14 days before expiration

    Recheck status; remind only if renewal remains outstanding

  3. 7 days before expiration

    Escalate to the designated manager if required

  4. Expiration date

    Flag the document as expired and activate the applicable risk procedure

  5. Post-expiration

    Continue controlled escalation according to document criticality and policy

The cadence must be configurable by document type. A business-critical license may need earlier intervention than a low-risk internal certification.

Step C - Automatically assign renewal work

When a reminder threshold is reached:

[LOOKUP] Existing Renewal Task
    ↓
[FILTER] Active Task Exists?
    ├── YES → Update Existing Task
    └── NO → Create Renewal Task
    ↓
[ACTION] Assign Owner
    ↓
[ACTION] Notify Owner

The task can be created in ClickUp, Asana, Monday.com, Jira, or the organization's selected management system.

The task should include the document, renewal requirements, deadline, responsible employee, and approval owner.

Step D - Validate renewal

Uploading a new PDF does not automatically mean the document is valid.

Verify, where applicable:

  • Correct document category and organization.
  • Legible and accessible file.
  • Valid effective and expiration dates.
  • Required signatures or issuing authority.
  • Authorized internal review.
  • Document supersedes the correct previous version.

Optional AI extraction can identify potential dates and missing fields, but authoritative renewal approval should follow the company's defined verification process.

Only after successful verification should the document status change to RENEWED_VERIFIED.

Blueprint 2 - Compliance Checklist Assignment & Evidence Verification

4. Objective

Automatically assign recurring or event-driven compliance tasks to the right departments, track progress, verify required evidence, and escalate outstanding obligations.

Instead of manually creating the same checklist every month or quarter, the system should generate assignments from approved templates.

Example compliance checklists

IT & Security

  • Review employee system access.
  • Confirm backup restoration tests.
  • Validate MFA coverage.
  • Review outstanding security exceptions.

HR

  • Confirm required employee documentation.
  • Review completed onboarding requirements.
  • Check mandatory training status.
  • Verify outstanding policy acknowledgments.

Finance & Operations

  • Review outstanding contracts.
  • Confirm required supplier documentation.
  • Validate approval records.
  • Check applicable reporting obligations.

These are example operational checklist items, not a universal legal compliance standard.

5. Workflow logic

[TRIGGER] Schedule / Compliance Event
    ↓
[LOOKUP] Active Checklist Template
    ↓
[LOOKUP] Scope + Department + Owners
    ↓
[VERIFY] Template Version & Eligibility
    ↓
[CREATE] Checklist Instance
    ↓
[ASSIGN] Responsible Employees
    ↓
[NOTIFY] Assignees
    ↓
[MONITOR] Task Status + Deadline
    ↓
[ROUTER]
    ├── COMPLETE + EVIDENCE → Verification
    ├── COMPLETE + NO EVIDENCE → Correction
    ├── IN PROGRESS → Continue Monitoring
    ├── OVERDUE → Escalation
    └── MISSING OWNER → Fallback Assignment
    ↓
[VERIFY] Evidence + Authorized Approval
    ↓
[UPDATE] Compliance Status
    ↓
[AUDIT] Checklist Results

6. Checklist definition

{
  "checklist_id": "SEC-QUARTERLY",
  "checklist_version": "1.2",
  "department": "IT",
  "frequency": "QUARTERLY",
  "approval_required": true,
  "items": [
    {
      "item_id": "ACCESS-REVIEW",
      "title": "Review privileged access",
      "owner_role": "IT_MANAGER",
      "evidence_required": true,
      "reviewer_role": "SECURITY_LEAD"
    },
    {
      "item_id": "BACKUP-TEST",
      "title": "Verify backup restoration test",
      "owner_role": "SYSTEM_ADMINISTRATOR",
      "evidence_required": true,
      "reviewer_role": "IT_MANAGER"
    }
  ]
}

Assignment mapping

The system should resolve role-based ownership dynamically.

For example:

IT Manager → Current employee holding the role.

Compliance Reviewer → Authorized reviewer within the organization.

Department Head → Escalation recipient.

This prevents checklists from failing when employees leave or change positions.

7. Evidence-driven completion

A checkbox marked complete is not necessarily proof of compliance.

For each checklist item, define whether it requires:

  • A completed action.
  • Attached supporting evidence.
  • A document reference.
  • A linked source-system record.
  • Reviewer approval.
  • Formal sign-off.

Example:

Employee Marks Item COMPLETE
    ↓
[FETCH] Attached Evidence
    ↓
[VERIFY] Required Evidence Exists?
    ├── NO → NEEDS_EVIDENCE
    └── YES → Await Reviewer
                  ↓
             [VERIFY] Approved?
                  ├── NO → REWORK_REQUIRED
                  └── YES → VERIFIED_COMPLETE

A reviewer's approval must be distinct from the assignee's completion action when separation of duties is required.

Checklist overall states

NOT_STARTED → ASSIGNED → IN_PROGRESS → PENDING_VERIFICATION → VERIFIED_COMPLETE

Exception states: OVERDUE, NEEDS_EVIDENCE, REWORK_REQUIRED, BLOCKED, CANCELLED, or NOT_APPLICABLE.

A checklist should not be finalized while a mandatory item remains unverified.

Blueprint 3 - New Policy Rollout & Acknowledgment Confirmation

8. Objective

Automatically distribute new or updated internal policies to the relevant employees, collect version-specific acknowledgments, and track outstanding confirmations.

This workflow should support:

  • Information security policies.
  • Remote work policies.
  • Acceptable-use policies.
  • HR and workplace procedures.
  • Data protection policies.
  • Internal operational standards.

An acknowledgment confirms that an employee performed the required confirmation action; it does not necessarily establish that the employee understood or complied with the policy.

For policies requiring training, testing, or legal signatures, those must be separately verified.

9. Workflow logic

[TRIGGER] Policy Published / Version Approved
    ↓
[FETCH] Policy Metadata + Document
    ↓
[VERIFY] Approved Policy Version
    ↓
[LOOKUP] Applicable Employee Groups
    ↓
[FETCH] Active Employee Directory
    ↓
[FILTER] Who Must Acknowledge?
    ↓
[CREATE] Individual Acknowledgment Records
    ↓
[ACTION] Send Policy Notification
    ↓
[WAIT] Employee Acknowledgment
    ↓
[VERIFY] Identity + Policy Version
    ↓
[ROUTER]
    ├── ACKNOWLEDGED → Record Confirmation
    ├── PENDING → Follow-Up
    ├── OVERDUE → Escalate
    └── EXEMPT / INACTIVE → Apply Policy
    ↓
[UPDATE] Compliance Register
    ↓
[AUDIT] Acknowledgment Evidence

10. Policy configuration

{
  "policy_id": "POL-SECURITY-001",
  "policy_name": "Information Security Policy",
  "policy_version": "2.1",
  "published_at": "2026-10-13",
  "effective_at": "2026-11-01",
  "target_groups": [
    "ALL_EMPLOYEES"
  ],
  "acknowledgment_required": true,
  "acknowledgment_deadline": "2026-10-27",
  "owner_role": "COMPLIANCE_MANAGER"
}

The rollout audience should be determined from approved HR or identity-system information.

For example, a policy may apply to every active employee, only contractors, or employees with a specific operational role.

11. Policy rollout communication

When a policy is approved:

[VERIFY] Version Approved
    ↓
[LOOKUP] Relevant Recipients
    ↓
[CREATE] Acknowledgment Task
    ↓
[ACTION] Send Email / Teams / Slack

Example notification:

Subject: Action Required - Updated Information Security Policy

The Information Security Policy has been updated to version 2.1.

Please review the document and confirm your acknowledgment by October 27.

[Review Policy and Acknowledge]

Each employee should receive an authenticated acknowledgment link, not a public or reusable URL.

12. Acknowledgment verification

When the employee clicks the confirmation control:

[TRIGGER] Acknowledgment Submitted
    ↓
[VERIFY] Employee Identity
    ↓
[VERIFY] Assigned Policy Version
    ↓
[VERIFY] Acknowledgment Record
    ↓
[FILTER] Already Acknowledged?
    ├── YES → Preserve Existing Record
    └── NO → Save Confirmation
    ↓
[UPDATE] Employee Status
    ↓
[AUDIT] Confirmation

Store:

employee_id
policy_id
policy_version
acknowledgment_method
acknowledgment_timestamp
acknowledgment_status

Preserve the exact published document version or an integrity-protected reference to it.

Acknowledging version 2.0 must not automatically count as acknowledgment of version 2.1.

13. Incomplete acknowledgment loop

Example reminder cadence:

TimingAction
Rollout dateInitial policy notification
7 days before deadlineReminder to pending employees
2 days before deadlineFinal reminder
Deadline passedEscalate according to company policy
Continued non-responseCompliance owner review

Before each reminder:

[FETCH] Latest Acknowledgment
    ↓
[FILTER] Still Pending?
    ├── NO → Stop
    └── YES → Notify / Escalate

Do not continue messaging employees whose acknowledgments are already complete.

Account for employment termination, leave, exemptions, and explicitly approved deadline extensions.

14. Shared escalation and exception management

These three workflows should share a common exception-handling engine.

Edge caseRequired behavior
Document has no ownerRoute to department owner or compliance administrator
Document already expiredFlag risk and initiate the defined escalation procedure
Expiration date missingRequest correction; never assume the document is valid
Renewal uploaded but not approvedKeep verification pending
Duplicate renewal taskReuse the existing active task
Checklist assigned to inactive employeeReassign under the approved fallback rules
Checklist marked complete without evidenceKeep it pending verification
Checklist reviewer unavailableRoute to an authorized alternate reviewer
Employee acknowledges an older policyRecord the old version; keep the new requirement open
Employee never acknowledgesEscalate after configured deadlines
Employee on approved leaveApply deadline-extension or exception policy
Reminder webhook repeatedSuppress duplicate communication
External API unavailableRetry affected integration without recreating completed tasks
Policy replaced during rolloutApply explicit supersession rules and preserve both version histories

Missing-owner recovery

[LOOKUP] Responsible Owner
    ↓
[FILTER] Owner Exists and Active?
    ├── YES → Continue
    └── NO
         ↓
    [LOOKUP] Department Head
         ↓
    [FILTER] Valid Fallback?
         ├── YES → Assign + Flag Mapping
         └── NO → Compliance Exception Queue

The system must never silently close a required compliance obligation because no employee owns it.

15. Central compliance register

For production implementation, I recommend a centralized database or equivalent persistent store.

Core entities

EntityPurpose
documentsMaster document metadata and ownership
document_versionsHistorical files, dates, approval states
renewal_tasksRenewal assignments and progress
checklist_templatesApproved reusable checklist definitions
checklist_instancesPeriod-specific assigned checklists
checklist_itemsIndividual action and evidence requirements
policiesPublished policy definitions
policy_versionsVersion-specific authoritative documents
acknowledgmentsEmployee confirmations and exceptions
employee_mappingsInternal identity and manager relationships
notification_historyMessage intent, delivery, and retry status
workflow_executionsProcessing checkpoints and recovery
audit_eventsImmutable or tamper-evident event history

This central register makes it possible to use any compatible PM/CRM, document storage, or messaging platform without losing the overall reporting history.

16. Shared notification architecture

All three workflows should use the same notification service.

[TRIGGER] Compliance Event
    ↓
[LOOKUP] Applicable Rule
    ↓
[LOOKUP] Responsible Recipient
    ↓
[FETCH] Current Obligation State
    ↓
[FILTER] Action Still Required?
    ↓
[LOOKUP] Notification History
    ↓
[FILTER] Already Sent?
    ↓
[ACTION] Send Notification
    ↓
[VERIFY] Provider Result
    ↓
[AUDIT] Delivery Status

Notification types:

  • Upcoming expiration reminder.
  • Expired document escalation.
  • Checklist assignment.
  • Missing checklist evidence.
  • Overdue checklist.
  • New policy notification.
  • Policy acknowledgment reminder.
  • Continued non-response escalation.

Idempotency example

obligation_id
+
obligation_version
+
recipient_id
+
notification_type
+
reminder_level

A failed workflow retry must not generate duplicate messages or assignments.

17. Error recovery

Every workflow action should have an independent execution state.

Example:

Document Expiration Check     COMPLETE

Renewal Task Created          COMPLETE

Slack Notification            FAILED

Email Notification            COMPLETE

Audit Record                  COMPLETE

The correct recovery action is to retry the failed Slack delivery, not recreate the renewal task or resend the email.

Use bounded retries with backoff for temporary errors and a dead-letter or exception queue for failures requiring manual attention.

Always re-fetch the current obligation status before retrying an external notification or assignment.

18. AI-assisted compliance intelligence

AI can enhance these workflows, but should not become the authoritative compliance decision-maker.

Potential capabilities

Document metadata extraction

Suggest document categories, effective dates, expiration dates, and responsible organizations.

Checklist preparation

Draft checklist suggestions from internal policy material for human approval.

Policy change summaries

Create plain-language summaries of approved changes between policy versions.

Missing information detection

Identify incomplete metadata or missing supporting documentation.

Manager reporting

Summarize verified outstanding obligations and highlight bottlenecks.

AI safety boundary

AI may suggest:

The uploaded certificate appears to expire on November 30; verification is required.

AI must not autonomously conclude:

This document satisfies all regulatory obligations.

Formal compliance determinations must follow the company's approved verification procedure and applicable legal requirements.

19. Audit and vault architecture

Credential vault

AUTOMATION ENGINE
       |
       v
[VAULT / CREDENTIAL STORE]
       |
       ├── Document Repository
       ├── CRM / PM
       ├── HRIS / Identity Provider
       ├── Email / Messaging
       ├── E-Signature Provider
       └── AI Provider

Required controls:

  • Least-privilege API permissions.
  • Authenticated webhooks.
  • Secret rotation.
  • Restricted document access.
  • Role-based access to compliance evidence.
  • Encryption where appropriate.
  • Data minimization.
  • Retention and deletion policies.
  • Protected audit records.

Audit event structure

event_id
workflow_run_id
organization_id

obligation_type
obligation_id
version_id

owner_id
reviewer_id

previous_status
new_status

action
action_result

source_system
source_record_id

notification_id
error_code

timestamp

Important events include:

DOCUMENT_EXPIRATION_DETECTED
RENEWAL_TASK_CREATED
RENEWAL_SUBMITTED
DOCUMENT_VERIFIED
DOCUMENT_EXPIRED

CHECKLIST_ASSIGNED
CHECKLIST_EVIDENCE_SUBMITTED
CHECKLIST_VERIFIED
CHECKLIST_ESCALATED

POLICY_PUBLISHED
ACKNOWLEDGMENT_REQUESTED
POLICY_ACKNOWLEDGED
ACKNOWLEDGMENT_OVERDUE

MISSING_OWNER_ESCALATED
DUPLICATE_NOTIFICATION_PREVENTED
INTEGRATION_FAILURE_RECORDED

The audit history should preserve who acted, what was changed, which requirement or document version was involved, and when the event occurred.

20. Compliance dashboard

The connected workflows should populate one dashboard for HR, Operations, Compliance, and authorized managers.

Suggested dashboard sections

Document Governance

  • Active documents.
  • Documents expiring in 30 days.
  • Expired documents.
  • Pending renewals.
  • Documents awaiting verification.

Checklist Compliance

  • Checklists assigned.
  • Verified-complete checklists.
  • Outstanding evidence.
  • Overdue assignments.
  • Requirements pending reviewer approval.

Policy Acknowledgments

  • Employees required to acknowledge.
  • Completed acknowledgments.
  • Pending acknowledgments.
  • Overdue acknowledgments.
  • Completion by department and policy version.

Management Attention

  • High-risk expired obligations.
  • Missing owners.
  • Repeated non-response.
  • Failed integrations.
  • Items requiring manual review.

The dashboard should distinguish verified compliance, pending evidence, and incomplete process steps rather than treating every checked box as compliance success.

The system can be implemented with:

Orchestration: n8n, Make, Zapier, or a custom backend.

Data layer: PostgreSQL, Supabase, Airtable, or a supported existing compliance platform.

Operational tasks: ClickUp, Asana, Monday.com, Jira, or another internal management tool.

Document repository: Google Drive, SharePoint, S3, or an approved document management system.

Employee directory: HRIS, Google Workspace, Microsoft Entra ID, or another authoritative directory.

Communication: Slack, Teams, Gmail, Outlook, or a transactional email provider.

Approval / acknowledgment: Authenticated internal portal, HRIS workflow, or an approved e-signature provider where necessary.

The architecture should remain independent of the provider names. Integration adapters translate each system's data into the same internal models.

22. Production acceptance tests

Test scenarioExpected outcome
Document expires in 30 daysReminder created once
Renewal is submitted but unverifiedStatus remains pending verification
Renewal is verifiedUpcoming reminders stop
Document has no expiration dateData-quality exception created
Document has no active ownerFallback assignment initiated
Document is already expiredEscalation created according to risk policy
Quarterly checklist schedule runs twiceOne checklist instance per scope and period
Checklist item has no required evidenceVerification remains blocked
Checklist reviewer is unavailableAuthorized fallback or exception
Employee acknowledges policy v1Only version v1 is acknowledged
Policy v2 is publishedNew acknowledgments assigned where required
Acknowledgment arrives lateCompletion recorded with late timestamp
Employee never respondsEscalation occurs without infinite reminders
Email integration failsOnly failed delivery step retried
Duplicate webhook is deliveredNo duplicate task or notification
Employee is no longer activeApplicability recalculated using policy rules

23. Final master blueprint

                 COMPLIANCE OPERATIONS
                          |
                          v
                [TRIGGER] Scheduled / Event
                          |
                          v
                 [LOOKUP] Requirements
                          |
                          v
                 [FETCH] Current State
                          |
                          v
                [VERIFY] Owner + Scope
                          |
             +------------+------------+
             |            |            |
             v            v            v
        DOCUMENTS     CHECKLISTS     POLICIES
             |            |            |
             v            v            v
        Expiration     Assignment     Publication
        Detection      + Evidence     + Recipients
             |            |            |
             v            v            v
        Renewal Task   Verification   Acknowledgment
             |            |            |
             +------------+------------+
                          |
                          v
                [ROUTER] Complete?
                    /           \
                   /             \
                 YES              NO
                  |                |
                  v                v
             VERIFY & CLOSE    REMIND / ESCALATE
                  |                |
                  +--------+-------+
                           |
                           v
                  UPDATE REGISTER
                           |
                           v
                      AUDIT LOG
                           |
                           v
                 COMPLIANCE DASHBOARD

24. Core operating principles

  1. Documents must be verified, not merely uploaded. Renewal requires valid metadata, the correct version, and applicable approvals.
  2. Compliance checklists must require evidence where appropriate. Marking a task complete does not necessarily prove that the control was performed.
  3. Policy acknowledgments must be tied to specific versions. An employee's previous acknowledgment cannot automatically satisfy a newly published policy.
  4. Reminders must reflect current state. Before sending, verify that the obligation is still outstanding.
  5. Escalation must be controlled. Repeated non-response should become a management exception rather than an endless loop of notifications.
  6. Every obligation needs a responsible owner. Missing or inactive owners must trigger fallback resolution.
  7. AI can assist interpretation, but does not establish compliance. Verified evidence and authorized human decisions remain authoritative.
  8. Every step should be auditable and recoverable. Integration failures must not generate duplicate assignments, approvals, or communications.

Final positioning

Documents → Expiration Monitoring → Checklist Assignment → Policy Acknowledgment → Verification → Escalation → Audit

The goal isn't simply to remind employees when something expires or when a new policy is published.

It's to build an interconnected compliance operations system that knows what is required, who is responsible, what's completed, what remains outstanding, and which obligations require immediate management attention.

This transforms three independent automation workflows into a unified Document Governance & Compliance Intelligence System.

For Uptune, the most compelling message is:

Compliance doesn't fail only because people forget deadlines. It fails when ownership is unclear, evidence is missing, systems aren't connected, and nobody can reliably verify what happened.

Explore the automation blueprint library or request a compliance automation consultation to discuss implementation with Uptune.

Keep building your knowledge.

Find the next system to simplify your work.

All blueprints
FROM IDEA TO NEXT STEP

Need help putting this guide into practice?

Bring your questions and your tools. Let’s talk through the setup for your business.

Book a consultation

Choose your call. We’ll arrange the time.