closing the table