modified CodeBook