return to DOM implementation