first pass at codebook