combine all the lists into the table