codebook training done