functions in the window
added DOM elements.