minor changes to code book