added codebook first draft