CodeBook writing