adds the rows for the list