new doc book code