code book formatting