formatted the table