added to DOM manipulation functions