Defined separate fns for dom