updated codebook with all variables