codes for the book