finish book probing code