build an html table of results