more on DOM and algebra