improved the codebook by adding information about the origin of the data