DomEx code added, yet to work