Reduced duplicate codes