Broken codes