the tableview is populated with the content of a list