sample book code