Copied internal deadline function to dashboard