beginning of dom_style