Changes to code book