minor changes to CodeBook