added codebooks