added units to codebook