small changes to the CodeBook