working copy of raw redact code