codebook input data revised