added codebook template