added code blocks to codebook