wrote codebook