get some data to the DOM and clean up