add some functions that can create some dom items in html