render results in a table