Structure problem in CodeBook