piece of code for table have been deleted