uses dom_id correcctly