built structure for table to display data