change formatting to table