redacting sensitive fields
refactor for readability