progress on block logic.  added another mode.