prep for html doc