added codebook and slide for it