course project, codebook fixes