added explicit codebook