added working xDom