format to the table