define parent for elements in list