edited variable names for codes and codebook