added codebook; removed an outdated comment from the code