redact Activity function