added variables to codebook