Ban duplicate codes as well as code-strings