improve format code book