fixed a bug in basic strategy with dd.

also commented some more in B9.