Codebook new version

Codebook second version