Progress on fixing the dam bug.