setup dom