mad changes for table view