using .html with function