changes markup of html and styling