Format the table