tidied codebook