source code for cbook