changed some thinks in codebook