set base DOM structure