Populating the code book with data.