implemented highlighting for table