Adding codeBook