Added a portion of code required for table to the results panel