some work on prime digit replacements