re-organized CodeBook