changed structure of html that gets inserted in the page