adding the code book