removed old codebook