format the table