cleaning up some code in ddovr2.pas