redacted stuff

add visible checks for redacted location

start of a code needed for redacted functionality without old string
insertions