added empty codebook
wrote small codebook